BigW Consortium Gitlab

Commit f660d8d0 by Jacob Schatz

Fixes sidebar width.

parent bb81eff4
...@@ -13,7 +13,8 @@ $list-font-size: 15px; ...@@ -13,7 +13,8 @@ $list-font-size: 15px;
$sidebar_collapsed_width: 62px; $sidebar_collapsed_width: 62px;
$sidebar_width: 230px; $sidebar_width: 230px;
$gutter_collapsed_width: 62px; $gutter_collapsed_width: 62px;
$gutter_width: 250px; $gutter_width: 312px;
$gutter_inner_width: 280px;
$avatar_radius: 50%; $avatar_radius: 50%;
$code_font_size: 13px; $code_font_size: 13px;
$code_line_height: 1.5; $code_line_height: 1.5;
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
border-bottom: 1px solid $border-gray-light; border-bottom: 1px solid $border-gray-light;
// This prevents the mess when resizing the sidebar // This prevents the mess when resizing the sidebar
// of elements repositioning themselves.. // of elements repositioning themselves..
width: 210px; width: $gutter_inner_width;
overflow-x: hidden; overflow-x: hidden;
// -- // --
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
} }
.gutter-toggle { .gutter-toggle {
margin-left: 10px; margin-left: 20px;
border-left: 1px solid $border-gray-light; border-left: 1px solid $border-gray-light;
padding-left: 10px; padding-left: 10px;
} }
...@@ -175,6 +175,12 @@ ...@@ -175,6 +175,12 @@
} }
} }
.subscribe-button {
span {
margin-top: 0;
}
}
&.right-sidebar-collapsed { &.right-sidebar-collapsed {
width: $sidebar_collapsed_width; width: $sidebar_collapsed_width;
padding-top: 0; padding-top: 0;
...@@ -211,7 +217,7 @@ ...@@ -211,7 +217,7 @@
} }
.gutter-toggle { .gutter-toggle {
margin-left: -207px; margin-left: -$gutter_inner_width + 4;
} }
.sidebar-collapsed-icon { .sidebar-collapsed-icon {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment