diff options
author | Jeong Arm <kjwonmail@gmail.com> | 2019-01-11 19:15:44 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-01-11 10:15:44 +0000 |
commit | 9ee9cb549b58a33a81a9da318cbdc26ed2e47788 (patch) | |
tree | d620c93255bb22d037b3a5ec70822d8ba9afb33f | |
parent | 11832460431bb6b3196daf17656c2cc76e8ae63d (diff) |
Adjust admin UI right panel size (#9768)
* Adjust admin UI right panel size * Fix typo
-rw-r--r-- | app/javascript/styles/mastodon/admin.scss | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/javascript/styles/mastodon/admin.scss b/app/javascript/styles/mastodon/admin.scss index 375c655f5..177f8145f 100644 --- a/app/javascript/styles/mastodon/admin.scss +++ b/app/javascript/styles/mastodon/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; |