Skip to content

Commit b6700fd

Browse files
committed
[design] improve modal header text overflow
1 parent 2e6ca3e commit b6700fd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎css/modal.css‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@
4141
border-radius:var(--radius) var(--radius) 00;
4242
padding:2em;
4343
max-height:calc(90vh-3.6666666667em);
44-
overflow: auto;
44+
overflow-y: auto;
4545
box-sizing: border-box;
4646
z-index:1;
4747
position: relative;
4848
}
4949

50-
.modal-heading{}
50+
.modal-heading{
51+
overflow-x: hidden;
52+
}
5153

5254
.modal-heading:focus{
5355
outline: none;

0 commit comments

Comments
(0)