Skip to content

Commit

Permalink
fix: dialog and drawer footer gap in small screen (vbenjs#5025)
Browse files Browse the repository at this point in the history
  • Loading branch information
mynetfan authored Dec 5, 2024
1 parent fe236ea commit 21d37a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ const props = defineProps<{ class?: any }>();
<template>
<div
:class="
cn(
'flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2',
props.class,
)
cn('flex flex-row flex-col-reverse justify-end gap-x-2', props.class)
"
>
<slot></slot>
Expand Down
5 changes: 1 addition & 4 deletions packages/@core/ui-kit/shadcn-ui/src/ui/sheet/SheetFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ const props = defineProps<{ class?: any }>();
<template>
<div
:class="
cn(
'flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2',
props.class,
)
cn('flex flex-row flex-col-reverse justify-end gap-x-2', props.class)
"
>
<slot></slot>
Expand Down

0 comments on commit 21d37a1

Please sign in to comment.