Remove header border on non-chat windows and reduce top margin a bit more

This commit is contained in:
Jérémie Astori 2018-04-14 18:16:17 -04:00
parent 3f540a8240
commit c9dc323bcc
No known key found for this signature in database
GPG key ID: B9A4F245CD67BDE8
2 changed files with 7 additions and 8 deletions

View file

@ -180,7 +180,7 @@ kbd {
} }
.container { .container {
margin: 20px auto; margin-bottom: 20px;
max-width: 480px; max-width: 480px;
touch-action: pan-y; touch-action: pan-y;
} }
@ -877,7 +877,6 @@ kbd {
} }
#windows .header { #windows .header {
border-bottom: 1px solid #e7e7e7;
line-height: 48px; line-height: 48px;
height: 48px; height: 48px;
padding: 0 6px; padding: 0 6px;
@ -886,6 +885,10 @@ kbd {
overflow: hidden; overflow: hidden;
} }
#windows #chat .header {
border-bottom: 1px solid #e7e7e7;
}
#windows .header .title { #windows .header .title {
font-size: 15px; font-size: 15px;
padding-left: 6px; padding-left: 6px;
@ -2207,10 +2210,6 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
opacity: 0; opacity: 0;
} }
.container {
margin-top: 60px !important;
}
#sidebar button, #sidebar button,
#sidebar .chan, #sidebar .chan,
#sidebar .empty, #sidebar .empty,
@ -2312,7 +2311,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
@media (max-width: 479px) { @media (max-width: 479px) {
.container { .container {
margin: 10px 0 !important; margin: 0;
} }
#sign-in .btn { #sign-in .btn {

View file

@ -32,7 +32,7 @@ body {
/* Borders */ /* Borders */
#chat .content, #chat .content,
#windows .header, #windows #chat .header,
#chat .user-mode::before, #chat .user-mode::before,
#chat .userlist { #chat .userlist {
border-color: #2a323d; border-color: #2a323d;