Skip to content

Commit

Permalink
Adjust admin UI right panel size
Browse files Browse the repository at this point in the history
  • Loading branch information
tribela committed Jan 9, 2019
1 parent af74491 commit 9c2831a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/javascript/styles/mastodon/admin.scss
@@ -1,20 +1,22 @@
$no-columns-breakpoint: 600px;
$sidebar-width: 240px;
$content-width: 840px;

.admin-wrapper {
display: flex;
justify-content: center;
height: 100%;

.sidebar-wrapper {
flex: 1;
flex: 1 1 $siebar-width;
height: 100%;
background: $ui-base-color;
display: flex;
justify-content: flex-end;
}

.sidebar {
width: 240px;
width: $sidebar-width;
height: 100%;
padding: 0;
overflow-y: auto;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 9c2831a

Please sign in to comment.