Commit c8f9c8dc authored by Denys Mishunov's avatar Denys Mishunov

CSS cleanup and refactoring

parent a4d530f3
...@@ -82,15 +82,13 @@ ...@@ -82,15 +82,13 @@
} }
} }
@mixin sidebar-container {
width: calc(100% + 100px);
}
.right-sidebar { .right-sidebar {
border-left: 1px solid $border-color; border-left: 1px solid $border-color;
.sidebar-container { .sidebar-container,
@include sidebar-container; .issuable-sidebar {
// Add 100px so that potentially visible vertical scroll bar is hidden
width: calc(100% + 100px);
} }
} }
...@@ -137,7 +135,6 @@ ...@@ -137,7 +135,6 @@
.issuable-sidebar { .issuable-sidebar {
padding: 0 3px; padding: 0 3px;
width: calc(100% + 35px);
} }
} }
......
...@@ -309,7 +309,6 @@ ...@@ -309,7 +309,6 @@
} }
.issuable-sidebar { .issuable-sidebar {
@include sidebar-container;
height: 100%; height: 100%;
overflow-y: scroll; overflow-y: scroll;
overflow-x: hidden; overflow-x: hidden;
......
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