Browse Source

feat(gui-v2): cell content alignment and height

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

8
packages/nc-gui-v2/components/smartsheet/Grid.vue

@ -26,6 +26,7 @@ const isPublicView = false
const selected = reactive<{ row?: number | null; col?: number | null }>({})
const editEnabled = ref(false)
const addColumnDropdown = ref(false)
const { loadData, paginationData, formattedData: data, updateRowProperty, changePage } = useViewData(meta, view)
const { loadGridViewColumns, updateWidth, resizingColWidth, resizingCol } = useGridViewColumnWidth(view)
@ -231,9 +232,14 @@ defineExpose({
td,
th {
min-height: 31px !important;
min-height: 41px !important;
height: 41px !important;
position: relative;
padding: 0 5px !important;
min-width: 200px;
& > * {
@apply flex align-center h-auto;
}
}
table,

Loading…
Cancel
Save