From c9dc323bcccb958eabd9da7b446bbc15c2b27123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Sat, 14 Apr 2018 18:16:17 -0400 Subject: [PATCH] Remove header border on non-chat windows and reduce top margin a bit more --- client/css/style.css | 13 ++++++------- client/themes/morning.css | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index 3be8fbb4..e0450af5 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -180,7 +180,7 @@ kbd { } .container { - margin: 20px auto; + margin-bottom: 20px; max-width: 480px; touch-action: pan-y; } @@ -877,7 +877,6 @@ kbd { } #windows .header { - border-bottom: 1px solid #e7e7e7; line-height: 48px; height: 48px; padding: 0 6px; @@ -886,6 +885,10 @@ kbd { overflow: hidden; } +#windows #chat .header { + border-bottom: 1px solid #e7e7e7; +} + #windows .header .title { font-size: 15px; padding-left: 6px; @@ -2207,10 +2210,6 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */ opacity: 0; } - .container { - margin-top: 60px !important; - } - #sidebar button, #sidebar .chan, #sidebar .empty, @@ -2312,7 +2311,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */ @media (max-width: 479px) { .container { - margin: 10px 0 !important; + margin: 0; } #sign-in .btn { diff --git a/client/themes/morning.css b/client/themes/morning.css index c02ca6a3..0f632250 100644 --- a/client/themes/morning.css +++ b/client/themes/morning.css @@ -32,7 +32,7 @@ body { /* Borders */ #chat .content, -#windows .header, +#windows #chat .header, #chat .user-mode::before, #chat .userlist { border-color: #2a323d;