Skip to content

Commit

Permalink
Improve locale select in command form
Browse files Browse the repository at this point in the history
  • Loading branch information
aguingand committed Dec 9, 2024
1 parent 889d82d commit b0ce369
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/js/form/components/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,11 @@
</div>
</template>
<template v-if="form.locales?.length || form.layout.tabbed && form.layout.tabs.length > 1">
<StickyTop class="@container relative group flex items-end container mb-4 pointer-events-none overflow-x-clip lg:sticky lg:top-3 data-[stuck]:z-20"
<StickyTop class="@container relative group flex items-end pointer-events-none data-[stuck]:z-20"
v-slot="{ stuck, isOverflowing }"
:class="[
inline ? 'mb-6' : 'mb-4 container overflow-x-clip lg:sticky lg:top-3',
]"
>
<div class="flex-1">
<template v-if="form.locales?.length">
Expand Down

0 comments on commit b0ce369

Please sign in to comment.