Skip to content

Commit 447beda

Browse files
committed
fix: floating action bar position.
1 parent 13f37e5 commit 447beda

File tree

1 file changed

+7
-3
lines changed
  • src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]

1 file changed

+7
-3
lines changed

src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/table.svelte

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,12 @@
358358
</Confirm>
359359

360360
<style>
361-
.floating-action-bar :global(div:first-of-type) {
362-
/* 50% > 60% because we have sub-navigation */
363-
left: calc(60% - var(--p-floating-action-bar-width) / 2);
361+
.floating-action-bar {
362+
position: fixed;
363+
364+
:global(div:first-of-type) {
365+
/* 50% > 60% because we have sub-navigation */
366+
left: calc(60% - var(--p-floating-action-bar-width) / 2);
367+
}
364368
}
365369
</style>

0 commit comments

Comments
 (0)