mirror of
https://github.com/flarum/core.git
synced 2025-08-06 16:36:47 +02:00
Use flexbox for sideNav. fixes #1408
This commit is contained in:
@@ -54,8 +54,12 @@
|
||||
}
|
||||
|
||||
@media @desktop-up {
|
||||
.sideNavContainer {
|
||||
display: flex;
|
||||
}
|
||||
.sideNav {
|
||||
float: left;
|
||||
flex-shrink: 0;
|
||||
margin-right: 50px;
|
||||
|
||||
&, > ul {
|
||||
width: 190px;
|
||||
@@ -119,6 +123,6 @@
|
||||
@media @desktop-up {
|
||||
.sideNavOffset {
|
||||
margin-top: 30px;
|
||||
margin-left: 240px;
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
|
@@ -12,6 +12,7 @@
|
||||
|
||||
> li {
|
||||
border-bottom: 1px solid @control-bg;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.Post {
|
||||
@@ -20,7 +21,6 @@
|
||||
}
|
||||
.PostsUserPage-discussion {
|
||||
font-weight: bold;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 10px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
|
Reference in New Issue
Block a user