Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/ui/src/components/base/FloatingActionBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ import { useModalStack } from '../../composables/modal-stack'
const props = defineProps<{
shown: boolean
ariaLabel?: string
belowModal?: boolean
}>()

const toolbarEl = ref<HTMLElement | null>(null)
const compact = ref(false)

const { stackCount } = useModalStack()
const zIndex = computed(() => 100 + stackCount.value * 10 + 8)
const zIndex = computed(() => 100 + stackCount.value * 10 + 8 + (!props.belowModal ? 1 : 0))

function checkCompact() {
const el = toolbarEl.value
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/layouts/wrapped/hosting/manage/backups.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
</div>

<FloatingActionBar
below-modal
:shown="selectedIds.size > 0 || isBulkOperating"
:aria-label="
formatMessage(messages.bulkBarAriaLabel, {
Expand Down
Loading