Skip to content

Commit 8c9e720

Browse files
committed
fix(button): adjust right position in reverse mode
1 parent 249834b commit 8c9e720

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/common/buttons/FloatingButton.vue

+4-2
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,15 @@ const emit = defineEmits<{
8181
#{layout.$header-navbar-height} + #{layout.$safe-area-inset-bottom / 1.5}
8282
);
8383
84-
bottom: calc(0.5rem + #{$navbar-offset});
84+
right: 1.5rem;
85+
bottom: calc(1rem + #{$navbar-offset});
8586
transition-delay: 0.5s;
8687
8788
&.open {
8889
$navbar-open-offset: calc(#{layout.$header-drawer-height} + #{$navbar-offset});
8990
90-
bottom: calc(0.5rem + #{$navbar-open-offset});
91+
right: 1.5rem;
92+
bottom: calc(1rem + #{$navbar-open-offset});
9193
transition-delay: 0s;
9294
}
9395
}

0 commit comments

Comments
 (0)