Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 21d37a1b
authored
Dec 05, 2024
by
Netfan
Committed by
GitHub
Dec 05, 2024
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: `dialog` and `drawer` footer gap in small screen (#5025)
1 parent
fe236ea9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
packages/@core/ui-kit/shadcn-ui/src/ui/dialog/DialogFooter.vue
packages/@core/ui-kit/shadcn-ui/src/ui/sheet/SheetFooter.vue
packages/@core/ui-kit/shadcn-ui/src/ui/dialog/DialogFooter.vue
View file @
21d37a1
...
@@ -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>
...
...
packages/@core/ui-kit/shadcn-ui/src/ui/sheet/SheetFooter.vue
View file @
21d37a1
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment