mirror of
https://github.com/flarum/framework.git
synced 2025-06-03 14:33:07 +08: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:
@ -6,8 +6,7 @@
|
|||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
|
||||||
.Button {
|
.Button {
|
||||||
display: block;
|
.Button--block();
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user