Browse Source

fix(nc-gui): card lookup attachment cell style update

pull/8869/head
Ramesh Mane 5 months ago
parent
commit
344496b0c4
  1. 14
      packages/nc-gui/components/smartsheet/Gallery.vue
  2. 14
      packages/nc-gui/components/smartsheet/Kanban.vue

14
packages/nc-gui/components/smartsheet/Gallery.vue

@ -563,8 +563,20 @@ watch(
}
&.nc-virtual-cell-lookup {
.nc-lookup-cell {
@apply !h-5.5;
&:has(.nc-attachment-wrapper) {
@apply !h-auto;
.nc-attachment-cell {
@apply !h-auto;
.nc-attachment-wrapper {
@apply py-0;
}
}
}
&:not(:has(.nc-attachment-wrapper)) {
@apply !h-5.5;
}
.nc-cell-lookup-scroll {
@apply py-0 h-auto;
}

14
packages/nc-gui/components/smartsheet/Kanban.vue

@ -1315,8 +1315,20 @@ const handleSubmitRenameOrNewStack = async (loadMeta: boolean, stack?: any, stac
}
&.nc-virtual-cell-lookup {
.nc-lookup-cell {
@apply !h-5.5;
&:has(.nc-attachment-wrapper) {
@apply !h-auto;
.nc-attachment-cell {
@apply !h-auto;
.nc-attachment-wrapper {
@apply py-0;
}
}
}
&:not(:has(.nc-attachment-wrapper)) {
@apply !h-5.5;
}
.nc-cell-lookup-scroll {
@apply py-0 h-auto;
}

Loading…
Cancel
Save