Skip to content

Commit b6700fd

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

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

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) 0 0;
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)