mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
Banner shown on deleting drafts was broken because "banner-wrapper"
class was missing in container element that led to some CSS not
being applied.
Also, needed to change the "text-align" CSS property to override
the "center" value set for overlay header text because "banner-label"
flex element is allowed to grow and take more width after recent
changes in d00cf1a
.
83 lines
1.9 KiB
CSS
83 lines
1.9 KiB
CSS
.drafts-container {
|
|
.banner-container {
|
|
margin: 0 25px 5px;
|
|
|
|
.banner-label {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
.header-body {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
gap: 5px;
|
|
|
|
.drafts-header-note {
|
|
text-align: left;
|
|
margin-left: 25px;
|
|
|
|
@media (width < $lg_min) {
|
|
text-align: center;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
.delete-drafts-group {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
|
|
.delete-selected-drafts-button {
|
|
&:focus {
|
|
background-color: hsl(0deg 0% 93%);
|
|
}
|
|
}
|
|
|
|
.select-drafts-button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
margin-right: 25px;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
|
|
&:focus {
|
|
background-color: hsl(0deg 0% 93%);
|
|
}
|
|
}
|
|
|
|
.select-state-indicator {
|
|
width: 15px;
|
|
}
|
|
|
|
@media (width < $lg_min) {
|
|
margin-top: 5px;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (width < $lg_min) {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.drafts-list {
|
|
& h2 {
|
|
font-size: 1.1em;
|
|
line-height: normal;
|
|
margin-bottom: 5px;
|
|
white-space: pre-wrap;
|
|
}
|
|
}
|
|
|
|
.draft-selection-checkbox {
|
|
margin-top: 0.25em;
|
|
/* Required to make sure that the checkbox icon stays inside
|
|
the grid. Any value greater than 13px (original width of
|
|
the checkbox icon) will work. */
|
|
width: 15px;
|
|
}
|
|
}
|