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