Browse Source

fix: virtual cell alignment

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/4840/head
mertmit 2 years ago
parent
commit
2b5f46373e
  1. 2
      packages/nc-gui/components/smartsheet/Grid.vue
  2. 2
      packages/nc-gui/components/virtual-cell/HasMany.vue
  3. 2
      packages/nc-gui/components/virtual-cell/ManyToMany.vue

2
packages/nc-gui/components/smartsheet/Grid.vue

@ -980,7 +980,7 @@ const rowHeight = computed(() => {
td:not(:first-child) > div {
overflow: hidden;
@apply flex items-center px-1;
@apply flex px-1;
}
table,

2
packages/nc-gui/components/virtual-cell/HasMany.vue

@ -94,7 +94,7 @@ useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e: KeyboardEven
</script>
<template>
<div class="flex items-center items-center gap-1 w-full chips-wrapper">
<div class="flex items-center gap-1 w-full chips-wrapper">
<template v-if="!isForm">
<div class="chips flex items-center img-container flex-1 hm-items flex-nowrap min-w-0 overflow-hidden">
<template v-if="cells">

2
packages/nc-gui/components/virtual-cell/ManyToMany.vue

@ -96,7 +96,7 @@ useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e: KeyboardEven
</script>
<template>
<div class="flex items-center gap-1 w-full h-full chips-wrapper">
<div class="flex items-center gap-1 w-full chips-wrapper">
<template v-if="!isForm">
<div class="chips flex items-center img-container flex-1 hm-items flex-nowrap min-w-0 overflow-hidden">
<template v-if="cells">

Loading…
Cancel
Save