diff --git a/packages/nc-gui-v2/components/smartsheet/Grid.vue b/packages/nc-gui-v2/components/smartsheet/Grid.vue index 263c1b1379..c774e27983 100644 --- a/packages/nc-gui-v2/components/smartsheet/Grid.vue +++ b/packages/nc-gui-v2/components/smartsheet/Grid.vue @@ -241,8 +241,7 @@ if (meta) useProvideColumnCreateStore(meta) min-height: 41px !important; height: 41px !important; position: relative; - padding: 0 5px !important; - min-width: 200px; + padding: 0 5px; & > * { @apply flex align-center h-auto; diff --git a/packages/nc-gui-v2/composables/useGridViewColumnWidth.ts b/packages/nc-gui-v2/composables/useGridViewColumnWidth.ts index 4116df08b3..0c191432a8 100644 --- a/packages/nc-gui-v2/composables/useGridViewColumnWidth.ts +++ b/packages/nc-gui-v2/composables/useGridViewColumnWidth.ts @@ -5,7 +5,7 @@ import useMetas from '~/composables/useMetas' import useUIPermission from '~/composables/useUIPermission' // todo: update swagger -export default (view: Ref<(GridType & { id?: string }) | undefined>) => { +export default (view: Ref<(GridType & { id?: string })>) => { const { css, load: loadCss, unload: unloadCss } = useStyleTag('') const { isUIAllowed } = useUIPermission() const { $api } = useNuxtApp()