Browse Source

fix: (refactor) moved css to scss

pull/6531/head
sreehari jayaraj 1 year ago
parent
commit
cf214a6c0a
  1. 4
      packages/nc-gui/components/smartsheet/grid/Table.vue

4
packages/nc-gui/components/smartsheet/grid/Table.vue

@ -1429,7 +1429,7 @@ const handleCellClick = (event: MouseEvent, row: number, col: number) => {
'align-middle': !rowHeight || rowHeight === 1, 'align-middle': !rowHeight || rowHeight === 1,
'align-top': rowHeight && rowHeight !== 1, 'align-top': rowHeight && rowHeight !== 1,
'filling': isCellInFillRange(rowIndex, colIndex), 'filling': isCellInFillRange(rowIndex, colIndex),
'!bg-gray-50 readonly': 'readonly':
(isLookup(columnObj) || isRollup(columnObj) || isFormula(columnObj)) && (isLookup(columnObj) || isRollup(columnObj) || isFormula(columnObj)) &&
hasEditPermission && hasEditPermission &&
isCellSelected(rowIndex, colIndex), isCellSelected(rowIndex, colIndex),
@ -1776,7 +1776,7 @@ const handleCellClick = (event: MouseEvent, row: number, col: number) => {
} }
td.active.readonly::after { td.active.readonly::after {
@apply text-primary bg-primary bg-opacity-5 !border-gray-200; @apply text-primary bg-grey-50 bg-opacity-5 !border-gray-200;
} }
td.active-cell::after { td.active-cell::after {

Loading…
Cancel
Save