Browse Source

fix(gui-v2): avoid highlighting primary value in form view

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3318/head
Pranav C 2 years ago
parent
commit
d24c0fb6fb
  1. 2
      packages/nc-gui-v2/components/smartsheet/Cell.vue
  2. 2
      packages/nc-gui-v2/components/smartsheet/Form.vue

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

@ -140,7 +140,7 @@ const syncAndNavigate = (dir: NavigateDir) => {
<template>
<div
class="nc-cell w-full h-full"
:class="{ 'text-blue-600': isPrimary && !virtual }"
:class="{ 'text-blue-600': isPrimary && !virtual && !isForm }"
@keydown.stop.left
@keydown.stop.right
@keydown.stop.up

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

@ -648,7 +648,7 @@ onMounted(async () => {
/>
</a-form-item>
<span class="text-gray-500 text-xs">{{ element.description }}</span>
<span class="text-gray-500 text-xs -mt-1 block">{{ element.description }}</span>
</div>
</template>

Loading…
Cancel
Save