Skip to content

Commit

Permalink
IBX-7302: No left sidebar when no anchor menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic committed Dec 8, 2023
1 parent 0e42c2c commit efa3df8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/bundle/Resources/public/scss/_main-container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@
min-width: calculateRem(240px);
border-top-left-radius: $ibexa-border-radius;
border-bottom-left-radius: $ibexa-border-radius;
margin-right: -$ibexa-border-radius;
padding-right: $ibexa-border-radius;
background-color: $ibexa-color-light-100;
}

&__content-column {
border-top-right-radius: $ibexa-border-radius;
border-bottom-right-radius: $ibexa-border-radius;
border-radius: $ibexa-border-radius;
background-color: $ibexa-color-light-100;
}
}
Expand All @@ -65,6 +66,15 @@
}
}

&--without-anchor-menu-items {
.ibexa-main-container {
&__side-column {
min-width: 0;
width: 0;
}
}
}

&--no-border {
padding: 0;

Expand Down

0 comments on commit efa3df8

Please sign in to comment.