Browse Source

fix: input field double border issue of shared form

pull/7298/head
Ramesh Mane 7 months ago
parent
commit
cba6af4456
  1. 2
      packages/nc-gui/components/cell/GeoData.vue
  2. 2
      packages/nc-gui/components/cell/RichText.vue
  3. 6
      packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index.vue

2
packages/nc-gui/components/cell/GeoData.vue

@ -103,7 +103,7 @@ const openInOSM = () => {
v-else
data-testid="nc-geo-data-lat-long-set"
tabindex="0"
class="focus-visible:!outline-none h-full w-full flex items-center"
class="focus-visible:!outline-none focus:!outline-none h-full w-full flex items-center"
>
{{ latLongStr }}
</div>

2
packages/nc-gui/components/cell/RichText.vue

@ -156,7 +156,7 @@ watch(editorDom, () => {
<template>
<div
class="h-full focus-visible:!outline-none"
class="h-full focus:!outline-none focus-visible:!outline-none"
:class="{
'flex flex-col flex-grow nc-rich-text-full': props.fullMode,
'nc-rich-text-embed flex flex-col pl-1 w-full': !props.fullMode,

6
packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index.vue

@ -68,6 +68,10 @@ p {
}
.nc-form-view {
.nc-data-cell {
@apply border-solid border-1 border-gray-300 dark:border-slate-200;
}
.nc-cell {
@apply bg-white dark:bg-slate-500;
@ -91,7 +95,7 @@ p {
@apply bg-white dark:bg-slate-500;
&.nc-input {
@apply w-full rounded p-2 min-h-[40px] flex items-center border-solid border-1 border-gray-300 dark:border-slate-200;
@apply w-full px-2 min-h-[40px] flex items-center;
.duration-cell-wrapper {
@apply w-full;

Loading…
Cancel
Save