diff options
author | pluralcafe-docker <git@plural.cafe> | 2019-01-16 19:42:48 +0000 |
---|---|---|
committer | pluralcafe-docker <git@plural.cafe> | 2019-01-16 19:42:48 +0000 |
commit | d899138556513c8a5fa3397606ecc4752b7c6785 (patch) | |
tree | 043d220748575a444b8628d8c4bf2e5225a92a00 /app/javascript/flavours/glitch/styles | |
parent | a6e0ff72f552dc172c18f5a10bbca071b067ab51 (diff) | |
parent | fb7ec403227690f897a9a693f2461b94bf7e2582 (diff) |
Merge branch 'master' into production
Diffstat (limited to 'app/javascript/flavours/glitch/styles')
-rw-r--r-- | app/javascript/flavours/glitch/styles/about.scss | 3 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/styles/admin.scss | 10 |
2 files changed, 7 insertions, 6 deletions
diff --git a/app/javascript/flavours/glitch/styles/about.scss b/app/javascript/flavours/glitch/styles/about.scss index f676a8c77..c8d144e5b 100644 --- a/app/javascript/flavours/glitch/styles/about.scss +++ b/app/javascript/flavours/glitch/styles/about.scss @@ -1270,8 +1270,7 @@ $small-breakpoint: 960px; } #mastodon-timeline { - display: block; - width: 100vw; + display: flex; height: 100vh; border-radius: 0; } diff --git a/app/javascript/flavours/glitch/styles/admin.scss b/app/javascript/flavours/glitch/styles/admin.scss index e7124a2c0..4e969601b 100644 --- a/app/javascript/flavours/glitch/styles/admin.scss +++ b/app/javascript/flavours/glitch/styles/admin.scss @@ -1,4 +1,6 @@ $no-columns-breakpoint: 600px; +$sidebar-width: 240px; +$content-width: 840px; .admin-wrapper { display: flex; @@ -6,7 +8,7 @@ $no-columns-breakpoint: 600px; height: 100%; .sidebar-wrapper { - flex: 1; + flex: 1 1 $sidebar-width; height: 100%; background: $ui-base-color; display: flex; @@ -14,7 +16,7 @@ $no-columns-breakpoint: 600px; } .sidebar { - width: 240px; + width: $sidebar-width; height: 100%; padding: 0; overflow-y: auto; @@ -95,12 +97,12 @@ $no-columns-breakpoint: 600px; } .content-wrapper { - flex: 2; + flex: 2 1 $content-width; overflow: auto; } .content { - max-width: 700px; + max-width: $content-width; padding: 20px 15px; padding-top: 60px; padding-left: 25px; |