Browse Source

fix(gui): remove outline of textarea

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5271/head
Pranav C 2 years ago
parent
commit
3701c4c660
  1. 7
      packages/nc-gui/components/cell/TextArea.vue

7
packages/nc-gui/components/cell/TextArea.vue

@ -21,7 +21,7 @@ const focus: VNodeRef = (el) => (el as HTMLTextAreaElement)?.focus()
<template> <template>
<textarea <textarea
v-if="editEnabled" v-if="true || editEnabled"
:ref="focus" :ref="focus"
v-model="vModel" v-model="vModel"
rows="4" rows="4"
@ -45,3 +45,8 @@ const focus: VNodeRef = (el) => (el as HTMLTextAreaElement)?.focus()
<span v-else>{{ vModel }}</span> <span v-else>{{ vModel }}</span>
</template> </template>
<style>
textarea:focus {
box-shadow: none;
}
</style>

Loading…
Cancel
Save