Skip to content
Snippets Groups Projects

ISTWCMS-4809 m26lebla hiding the non-active edit tabs in small views

Merged Martin Leblanc requested to merge feature/ISTWCMS-4809-m26lebla-admin-edit-tabs into 3.0.x
1 file
+ 29
0
Compare changes
  • Side-by-side
  • Inline
@@ -307,3 +307,32 @@
}
}
// Edit tabs for the main pages in drupal
.tabs{
&__trigger{
padding-bottom:0;
&:hover,
&:focus{
background:gesso-grayscale(gray-2);
border:1px solid gesso-grayscale(gray-4);
}
}
.is-collapse-enabled &{
&::before{
display:none;
}
li{
&:not(.is-active){
display:none;
}
}
}
&.is-open{
li{
&:not(:first-child){
display:inherit;
}
}
}
}
Loading