Fix padding in room header
This commit is contained in:
parent
ed8eca0c1d
commit
74216f75e2
4 changed files with 11 additions and 8 deletions
|
@ -1,6 +1,5 @@
|
||||||
@use '../../partials/text';
|
@use '../../partials/text';
|
||||||
@use '../../partials/dir';
|
@use '../../partials/dir';
|
||||||
@use '../../partials/screen';
|
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
@include dir.side(padding, var(--sp-normal), var(--sp-extra-tight));
|
@include dir.side(padding, var(--sp-normal), var(--sp-extra-tight));
|
||||||
|
@ -41,8 +40,4 @@
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include screen.smallerThan(mobileBreakpoint) {
|
|
||||||
@include dir.side(padding, calc(var(--sp-normal) - 10px), var(--sp-extra-tight));
|
|
||||||
}
|
|
||||||
}
|
}
|
|
@ -1,4 +1,6 @@
|
||||||
@use '../../partials/flex';
|
@use '../../partials/flex';
|
||||||
|
@use '../../partials/screen';
|
||||||
|
@use '../../partials/dir';
|
||||||
|
|
||||||
.room-view {
|
.room-view {
|
||||||
@extend .cp-fx__column;
|
@extend .cp-fx__column;
|
||||||
|
@ -18,6 +20,12 @@
|
||||||
box-shadow: var(--bs-popup);
|
box-shadow: var(--bs-popup);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& .header {
|
||||||
|
@include screen.smallerThan(mobileBreakpoint) {
|
||||||
|
padding: 0 var(--sp-tight);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&__content-wrapper {
|
&__content-wrapper {
|
||||||
@extend .cp-fx__item-one;
|
@extend .cp-fx__item-one;
|
||||||
@extend .cp-fx__column;
|
@extend .cp-fx__column;
|
||||||
|
|
|
@ -27,14 +27,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.header .room-header__drawer-btn {
|
.room-header__drawer-btn {
|
||||||
@include screen.smallerThan(tabletBreakpoint) {
|
@include screen.smallerThan(tabletBreakpoint) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.header .room-header__back-btn {
|
.room-header__back-btn {
|
||||||
@include dir.side(margin, 0, 5px);
|
@include dir.side(margin, 0, var(--sp-tight));
|
||||||
|
|
||||||
@include screen.biggerThan(mobileBreakpoint) {
|
@include screen.biggerThan(mobileBreakpoint) {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
Loading…
Reference in a new issue