Commit 21d37a1b by Netfan Committed by GitHub

fix: `dialog` and `drawer` footer gap in small screen (#5025)

1 parent fe236ea9
...@@ -7,10 +7,7 @@ const props = defineProps<{ class?: any }>(); ...@@ -7,10 +7,7 @@ const props = defineProps<{ class?: any }>();
<template> <template>
<div <div
:class=" :class="
cn( cn('flex flex-row flex-col-reverse justify-end gap-x-2', props.class)
'flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2',
props.class,
)
" "
> >
<slot></slot> <slot></slot>
......
...@@ -7,10 +7,7 @@ const props = defineProps<{ class?: any }>(); ...@@ -7,10 +7,7 @@ const props = defineProps<{ class?: any }>();
<template> <template>
<div <div
:class=" :class="
cn( cn('flex flex-row flex-col-reverse justify-end gap-x-2', props.class)
'flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2',
props.class,
)
" "
> >
<slot></slot> <slot></slot>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!