This commit is contained in:
Nicolas Bally 2017-08-31 17:59:08 +02:00
parent 3c677d9b0b
commit e15b671787
2 changed files with 25 additions and 24 deletions

View File

@ -6,19 +6,20 @@
// Font Awesome // Font Awesome
//@import "fontawesome/font-awesome"; //@import "fontawesome/font-awesome";
.large_only{
display:none;
}
@media (min-width: 992px){ @media (min-width: 992px){
.mobile_only{ .mobile_only{
display:none; display:none;
} }
.sidebar{ .large_only{
padding-top:30px;
.square{ display:block;
display:none;
}
} }
} }

View File

@ -3,7 +3,7 @@
-content_for :sidebar do -content_for :sidebar do
.large_only
-if @menu_item.parent_id -if @menu_item.parent_id
-if @menu_item.ancestors.reverse[0] -if @menu_item.ancestors.reverse[0]
-first_level_menu = @menu_item.ancestors.reverse[0] -first_level_menu = @menu_item.ancestors.reverse[0]