Newer
Older
Ekaterina Kondareva
committed
:host {
display: block;
}
.with-sidebar {
.hy-main-content-wrapper {
// Layout Mobile 320-479px
Ekaterina Kondareva
committed
padding: 0 1rem;
Ekaterina Kondareva
committed
// Layout Tablet 480-959px
// Side navigation disappears to hamburger when width < 1200.
Ekaterina Kondareva
committed
@include breakpoint($narrow) {
// the rule is applied to screens >=480px: width 100% - side margins (32px)
Ekaterina Kondareva
committed
padding: 0 2rem;
}
// Large desktop Layout >1441px
@include breakpoint($overwide) {
border: 1px solid red;
max-width: 1216px;
padding: 0;
Ekaterina Kondareva
committed
}
}
}
.without-sidebar {
.hy-main-content-wrapper {
// Layout Mobile 320-479px
Ekaterina Kondareva
committed
padding: 0 1rem;
Ekaterina Kondareva
committed
// Layout Tablet 480-959px
@include breakpoint($narrow) {
padding: 0 2rem;
}
// Large desktop Layout >1441px
@include breakpoint($overwide) {