diff --git a/static/styles/drafts.scss b/static/styles/drafts.scss index 9a9025bed7..e944e9a4b6 100644 --- a/static/styles/drafts.scss +++ b/static/styles/drafts.scss @@ -11,6 +11,21 @@ display: flex; flex-direction: column; + .drafts-header { + padding: { + top: 4px; + bottom: 8px; + } + text-align: center; + border-bottom: 1px solid hsl(0, 0%, 87%); + + h1 { + margin: 0; + font-size: 1.1em; + text-transform: uppercase; + } + } + .exit { font-weight: 400; position: absolute; @@ -30,21 +45,6 @@ } } -.drafts-header { - padding: { - top: 4px; - bottom: 8px; - } - text-align: center; - border-bottom: 1px solid hsl(0, 0%, 87%); - - h1 { - margin: 0; - font-size: 1.1em; - text-transform: uppercase; - } -} - .drafts-list { padding: 10px 0; overflow: auto; diff --git a/static/styles/night_mode.scss b/static/styles/night_mode.scss index c0927b311c..22bbb92d13 100644 --- a/static/styles/night_mode.scss +++ b/static/styles/night_mode.scss @@ -351,7 +351,7 @@ on a dark background, and don't change the dark labels dark either. */ thead, #searchbox, #searchbox_legacy, - .drafts-header, + .drafts-container .drafts-header, .nav > li > a:hover, .subscriptions-container .subscriptions-header, .grey-box,