Slightly widen index sidebar, overflow buttons properly

First half of #349 fix. Supersedes #734 (190px wide instead of 200px, correctly modify margin-left of .sideNavOffset, more descriptive commit message)
This commit is contained in:
Toby Zerner
2016-02-07 12:10:02 +10:30
parent fb09cef540
commit dfef3c1ff1
3 changed files with 5 additions and 4 deletions

View File

@ -6,8 +6,7 @@
margin-bottom: 20px; margin-bottom: 20px;
.Button { .Button {
display: block; .Button--block();
width: 100%;
} }
} }
} }

View File

@ -192,6 +192,8 @@
.Button--block { .Button--block {
display: block; display: block;
width: 100%; width: 100%;
overflow: hidden;
text-overflow: ellipsis;
// Vertically space out multiple block buttons // Vertically space out multiple block buttons
+ .Button--block { + .Button--block {

View File

@ -95,7 +95,7 @@
float: left; float: left;
&, > ul { &, > ul {
width: 175px; width: 190px;
} }
> ul { > ul {
margin-top: 30px; margin-top: 30px;
@ -119,6 +119,6 @@
@media @desktop-up { @media @desktop-up {
.sideNavOffset { .sideNavOffset {
margin-top: 30px; margin-top: 30px;
margin-left: 225px; margin-left: 240px;
} }
} }