Commit 9ddaba53 by Vben Committed by vben

fix: correct grid styling issue (#4889)

1 parent 5b079471
...@@ -221,9 +221,9 @@ function nav(): DefaultTheme.NavItem[] { ...@@ -221,9 +221,9 @@ function nav(): DefaultTheme.NavItem[] {
link: '/commercial/community', link: '/commercial/community',
text: '👨‍👦‍👦 Community', text: '👨‍👦‍👦 Community',
}, },
{ // {
link: '/friend-links/', // link: '/friend-links/',
text: '🤝 Friend Links', // text: '🤝 Friend Links',
}, // },
]; ];
} }
...@@ -282,10 +282,10 @@ function nav(): DefaultTheme.NavItem[] { ...@@ -282,10 +282,10 @@ function nav(): DefaultTheme.NavItem[] {
// }, // },
// ], // ],
}, },
{ // {
link: '/friend-links/', // link: '/friend-links/',
text: '🤝 友情链接', // text: '🤝 友情链接',
}, // },
]; ];
} }
......
...@@ -81,7 +81,8 @@ ...@@ -81,7 +81,8 @@
} }
.vxe-tools--operate { .vxe-tools--operate {
@apply ml-3; margin-right: 0.25rem;
margin-left: 0.75rem;
} }
.vxe-table-custom--checkbox-option:hover { .vxe-table-custom--checkbox-option:hover {
...@@ -93,6 +94,7 @@ ...@@ -93,6 +94,7 @@
} }
.vxe-buttons--wrapper:not(:empty), .vxe-buttons--wrapper:not(:empty),
.vxe-tools--operate:not(:empty),
.vxe-tools--wrapper:not(:empty) { .vxe-tools--wrapper:not(:empty) {
padding: 0.6em 0; padding: 0.6em 0;
} }
......
...@@ -32,7 +32,7 @@ import { useTableForm } from './init'; ...@@ -32,7 +32,7 @@ import { useTableForm } from './init';
import 'vxe-table/styles/cssvar.scss'; import 'vxe-table/styles/cssvar.scss';
import 'vxe-pc-ui/styles/cssvar.scss'; import 'vxe-pc-ui/styles/cssvar.scss';
import './theme.css'; import './style.css';
interface Props extends VxeGridProps { interface Props extends VxeGridProps {
api: ExtendedVxeGridApi; api: ExtendedVxeGridApi;
...@@ -270,7 +270,7 @@ onUnmounted(() => { ...@@ -270,7 +270,7 @@ onUnmounted(() => {
ref="gridRef" ref="gridRef"
:class=" :class="
cn( cn(
'p-2', 'p-2 pt-0',
{ {
'pt-0': showToolbar && !formOptions, 'pt-0': showToolbar && !formOptions,
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!