Browse Source

fix: grid border issue

Signed-off-by: mertmit <mertmit99@gmail.com>
chore/upstall-default-val-init
mertmit 1 week ago
parent
commit
61274e9920
  1. 6
      packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue
  2. 3
      packages/nocodb/docker/rspack.config.js
  3. 3
      packages/nocodb/rspack.config.js
  4. 3
      packages/nocodb/rspack.timely.config.js

6
packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue

@ -2267,7 +2267,7 @@ watch(vSelectedAllRecords, (selectedAll) => {
class="cell relative nc-grid-cell cursor-pointer"
:class="{
'active': selectRangeMap[`${row.rowMeta.rowIndex}-0`],
'active-cell !after:h-[calc(100%-2px)]':
'active-cell !after:h-[calc(100%-1px)]':
(activeCell.row === row.rowMeta.rowIndex && activeCell.col === 0) ||
(selectedRange._start?.row === row.rowMeta.rowIndex && selectedRange._start?.col === 0),
'nc-required-cell':
@ -2882,6 +2882,10 @@ watch(vSelectedAllRecords, (selectedAll) => {
border-radius: 2px;
}
td:nth-child(2).active-cell.filling::after {
@apply !h-[calc(100%+2px)];
}
td.filling::after {
content: '';
position: absolute;

3
packages/nocodb/docker/rspack.config.js

@ -58,6 +58,9 @@ module.exports = {
compress: {
keep_classnames: true,
},
mangle: {
keep_classnames: true,
},
},
}),
],

3
packages/nocodb/rspack.config.js

@ -56,6 +56,9 @@ module.exports = {
compress: {
keep_classnames: true,
},
mangle: {
keep_classnames: true,
},
},
}),
],

3
packages/nocodb/rspack.timely.config.js

@ -55,6 +55,9 @@ module.exports = {
compress: {
keep_classnames: true,
},
mangle: {
keep_classnames: true,
},
},
}),
],

Loading…
Cancel
Save