1
0
mirror of https://github.com/flarum/core.git synced 2025-01-17 22:29:15 +01:00

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;
.Button {
display: block;
width: 100%;
.Button--block();
}
}
}

View File

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

View File

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