Browse Source

chore(nc-gui): update cell styles

pull/3669/head
braks 2 years ago committed by Raju Udava
parent
commit
4f68489fb1
  1. 6
      packages/nc-gui/components/cell/Url.vue
  2. 2
      packages/nc-gui/components/smartsheet/Cell.vue

6
packages/nc-gui/components/cell/Url.vue

@ -28,9 +28,9 @@ const column = inject(ColumnInj)!
const editEnabled = inject(EditModeInj)!
const disableOverlay = inject(CellUrlDisableOverlayInj)
const disableOverlay = inject(CellUrlDisableOverlayInj, ref(false))
// Used in the logic of when to display error since we are not storing the url if its not valid
// Used in the logic of when to display error since we are not storing the url if it's not valid
const localState = ref(value)
const vModel = computed({
@ -72,7 +72,7 @@ watch(
</script>
<template>
<div class="flex flex-row items-center justify-between">
<div class="flex flex-row items-center justify-between w-full h-full">
<input v-if="editEnabled" :ref="focus" v-model="vModel" class="outline-none text-sm w-full" @blur="editEnabled = false" />
<nuxt-link

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

@ -136,7 +136,7 @@ const syncAndNavigate = (dir: NavigateDir) => {
<template>
<div
class="nc-cell w-full h-full"
class="nc-cell"
:class="[`nc-cell-${(column?.uidt || 'default').toLowerCase()}`, { 'text-blue-600': isPrimary && !virtual && !isForm }]"
@keydown.stop.left
@keydown.stop.right

Loading…
Cancel
Save