mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-08 12:13:14 +08:00
update: 表单项间距调整
This commit is contained in:
@@ -46,7 +46,7 @@ const wrapperClass = computed(() => {
|
|||||||
if (props.layout === 'inline') {
|
if (props.layout === 'inline') {
|
||||||
cls.push('flex-wrap gap-x-2');
|
cls.push('flex-wrap gap-x-2');
|
||||||
} else {
|
} else {
|
||||||
cls.push(props.compact ? 'gap-x-2' : 'gap-x-4', 'flex-col grid');
|
cls.push(props.compact ? 'gap-x-2' : 'gap-x-4', 'flex-col grid gap-y-1.5');
|
||||||
}
|
}
|
||||||
return cn(...cls, props.wrapperClass);
|
return cn(...cls, props.wrapperClass);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user