mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 00:23:49 +00:00
modals: Structure heading as grid to allow line wrapping.
This commit is contained in:
@@ -30,10 +30,14 @@
|
||||
}
|
||||
|
||||
.modal__header {
|
||||
padding: 16px 24px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 16px 16px 16px 24px;
|
||||
display: grid;
|
||||
/* 25px at 16px/1em = 1.6667
|
||||
29px at 16px/1em = 1.8125 */
|
||||
grid-template:
|
||||
"heading close-button" 1.6667em "heading ." auto / minmax(0, 1fr)
|
||||
1.8125em;
|
||||
grid-column-gap: 4px;
|
||||
}
|
||||
|
||||
.modal__footer {
|
||||
@@ -100,7 +104,6 @@
|
||||
&::before {
|
||||
content: "\2715";
|
||||
}
|
||||
margin-right: -4px;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
|
||||
|
||||
@@ -918,8 +918,8 @@ ul.popover-group-menu-member-list {
|
||||
}
|
||||
|
||||
.modal__title {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
/* Grid defined in modal.css */
|
||||
grid-area: heading;
|
||||
|
||||
.stream-privacy-type-icon {
|
||||
padding-left: 3px;
|
||||
|
||||
Reference in New Issue
Block a user