Browse Source

Merge pull request #6121 from sreehari2003/develop

fix: text input overflow on focus
pull/6149/head
աɨռɢӄաօռɢ 1 year ago committed by GitHub
parent
commit
04d351ceb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nc-gui/components/smartsheet/Form.vue
  2. 4
      packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue
  3. 2
      packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue

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

@ -730,7 +730,7 @@ watch(view, (nextView) => {
<LazySmartsheetDivDataCell class="relative">
<LazySmartsheetCell
v-model="formState[element.title]"
class="nc-input"
class="nc-input truncate"
:class="`nc-form-input-${element.title.replaceAll(' ', '')}`"
:data-testid="`nc-form-input-${element.title.replaceAll(' ', '')}`"
:column="element"

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

@ -120,10 +120,6 @@ p {
}
}
&.nc-cell-longtext {
@apply !p-0 pb-2px pr-2px;
}
textarea {
@apply px-4 py-2 rounded;

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

@ -165,7 +165,7 @@ const onDecode = async (scannedCodeValue: string) => {
<LazySmartsheetCell
v-else
v-model="formState[field.title]"
class="nc-input"
class="nc-input truncate"
:data-testid="`nc-form-input-cell-${field.label || field.title}`"
:class="`nc-form-input-${field.title?.replaceAll(' ', '')}`"
:column="field"

Loading…
Cancel
Save