From d20204826dd167ad387a271c646c95067c50a36e Mon Sep 17 00:00:00 2001 From: Vaibhav Date: Fri, 16 Aug 2019 07:12:45 +0530 Subject: [PATCH] css: Nest .drafts-header inside .drafts-container. --- static/styles/drafts.scss | 30 +++++++++++++++--------------- static/styles/night_mode.scss | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) 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,