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 93f0eea4
authored
Aug 21, 2025
by
ming4762
Committed by
GitHub
Aug 21, 2025
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: fix the issue of excessive line spacing in vbenForm (#6653)
* gap-2和 pb-4/2 重叠导致间距过宽,gap-x只保留列间距
1 parent
58e39418
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
packages/@core/ui-kit/form-ui/src/form-render/form.vue
packages/@core/ui-kit/form-ui/src/form-render/form.vue
View file @
93f0eea
...
...
@@ -43,12 +43,10 @@ const emits = defineEmits<{
const
wrapperClass
=
computed
(()
=>
{
const
cls
=
[
'flex'
];
if
(
props
.
layout
===
'vertical'
)
{
cls
.
push
(
props
.
compact
?
'gap-x-2'
:
'gap-x-4'
,
'flex-col grid'
);
}
else
if
(
props
.
layout
===
'inline'
)
{
cls
.
push
(
'flex-wrap gap-2'
);
if
(
props
.
layout
===
'inline'
)
{
cls
.
push
(
'flex-wrap gap-x-2'
);
}
else
{
cls
.
push
(
'gap-2
flex-col grid'
);
cls
.
push
(
props
.
compact
?
'gap-x-2'
:
'gap-x-4'
,
'
flex-col grid'
);
}
return
cn
(...
cls
,
props
.
wrapperClass
);
});
...
...
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