Adjust sides offset for Switcher and Viewer buttons
This commit is contained in:
@@ -9,10 +9,9 @@
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
--offset: 20px;
|
--offset: clamp(20px, 3vw, 40px);
|
||||||
}
|
}
|
||||||
@include bp (md) {
|
@include bp (md) {
|
||||||
--offset: 40px;
|
|
||||||
--button-size: 56px;
|
--button-size: 56px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -424,14 +424,14 @@
|
|||||||
|
|
||||||
// Close button
|
// Close button
|
||||||
&__close {
|
&__close {
|
||||||
|
--offset: 16px;
|
||||||
position: fixed !important;
|
position: fixed !important;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
top: 16px;
|
top: var(--offset);
|
||||||
right: calc(16px + 44px + 12px);
|
right: var(--offset);
|
||||||
|
|
||||||
@include bp (md) {
|
@include bp (sm) {
|
||||||
top: 40px;
|
--offset: clamp(20px, 3vw, 40px);
|
||||||
right: 40px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
|
|||||||
Reference in New Issue
Block a user