drafts-ui: Fix banner shown on deleting drafts.

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.
This commit is contained in:
Sahil Batra
2025-07-29 14:35:11 +05:30
committed by Tim Abbott
parent 2a09a66f2d
commit 078d93e310
2 changed files with 5 additions and 1 deletions

View File

@@ -1,6 +1,10 @@
.drafts-container {
.banner-container {
margin: 0 25px 5px;
.banner-label {
text-align: left;
}
}
.header-body {

View File

@@ -6,7 +6,7 @@
<div class="exit">
<span class="exit-sign">&times;</span>
</div>
<div id="draft_overlay_banner_container" class="banner-container"></div>
<div id="draft_overlay_banner_container" class="banner-container banner-wrapper"></div>
<div class="header-body">
<div class="drafts-header-note">
<div class="overlay-keyboard-shortcuts">