Browse Source

Refactored the removal of h-full to outer level

pull/5531/head
nith2001 2 years ago
parent
commit
615f5d58bb
  1. 2
      packages/nc-gui/components/smartsheet/Cell.vue
  2. 4
      packages/nc-gui/pages/[projectType]/form/[viewId]/index/survey.vue

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

@ -188,7 +188,7 @@ onUnmounted(() => {
<template>
<div
ref="elementToObserve"
class="nc-cell w-full relative"
class="nc-cell w-full h-full relative"
:class="[
`nc-cell-${(column?.uidt || 'default').toLowerCase()}`,
{ 'text-blue-600': isPrimary(column) && !props.virtual && !isForm },

4
packages/nc-gui/pages/[projectType]/form/[viewId]/index/survey.vue

@ -287,7 +287,7 @@ onMounted(() => {
<LazySmartsheetVirtualCell
v-if="isVirtualCol(field)"
v-model="formState[field.title]"
class="mt-0 nc-input"
class="mt-0 nc-input h-auto"
:row="{ row: {}, oldRow: {}, rowMeta: {} }"
:data-testid="`nc-survey-form__input-${field.title.replaceAll(' ', '')}`"
:column="field"
@ -296,7 +296,7 @@ onMounted(() => {
<LazySmartsheetCell
v-else
v-model="formState[field.title]"
class="nc-input"
class="nc-input h-auto"
:data-testid="`nc-survey-form__input-${field.title.replaceAll(' ', '')}`"
:column="field"
:edit-enabled="editEnabled[index]"

Loading…
Cancel
Save