Browse Source

refactor(gui-v2): style corrections

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2857/head
Pranav C 2 years ago
parent
commit
2ae3e76cc5
  1. 3
      packages/nc-gui-v2/components/smartsheet/Grid.vue
  2. 2
      packages/nc-gui-v2/composables/useGridViewColumnWidth.ts

3
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;

2
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()

Loading…
Cancel
Save