Browse Source

fix : removed unwanted ! - important

pull/7114/head
musharaf 12 months ago
parent
commit
b862466785
  1. 2
      packages/nc-gui/components/erd/TableNode.vue
  2. 2
      packages/nc-gui/components/smartsheet/column/LinkedToAnotherRecordOptions.vue
  3. 4
      packages/nc-gui/components/smartsheet/expanded-form/index.vue
  4. 9
      packages/nc-gui/components/smartsheet/header/Cell.vue

2
packages/nc-gui/components/erd/TableNode.vue

@ -54,7 +54,7 @@ watch(
</template> </template>
<div <div
class="relative h-full max-w-[20rem] flex flex-col justify-center bg-white min-w-16 min-h-8 rounded-lg nc-erd-table-node" class="relative h-full max-w-76 flex flex-col justify-center bg-white min-w-16 min-h-8 rounded-lg nc-erd-table-node"
:class="[ :class="[
`nc-erd-table-node-${table.table_name}`, `nc-erd-table-node-${table.table_name}`,
showSkeleton ? 'cursor-pointer items-center min-h-200px min-w-300px' : '', showSkeleton ? 'cursor-pointer items-center min-h-200px min-w-300px' : '',

2
packages/nc-gui/components/smartsheet/column/LinkedToAnotherRecordOptions.vue

@ -74,7 +74,7 @@ const isLinks = computed(() => vModel.value.uidt === UITypes.Links)
v-model:value="vModel.childId" v-model:value="vModel.childId"
show-search show-search
:filter-option="filterOption" :filter-option="filterOption"
dropdown-class-name="nc-dropdown-ltar-child-table " dropdown-class-name="nc-dropdown-ltar-child-table"
@change="onDataTypeChange" @change="onDataTypeChange"
> >
<a-select-option v-for="table of refTables" :key="table.title" :value="table.id"> <a-select-option v-for="table of refTables" :key="table.title" :value="table.id">

4
packages/nc-gui/components/smartsheet/expanded-form/index.vue

@ -633,11 +633,11 @@ export default {
<div class="flex-1 xs:(w-full) mt-0.25 !h-[35px]"> <div class="flex-1 xs:(w-full) mt-0.25 !h-[35px]">
<LazySmartsheetHeaderVirtualCell <LazySmartsheetHeaderVirtualCell
v-if="isVirtualCol(col)" v-if="isVirtualCol(col)"
class="nc-expanded-cell-header h-full !max-w-80" class="nc-expanded-cell-header h-full max-w-80"
:column="col" :column="col"
/> />
<LazySmartsheetHeaderCell v-else class="nc-expanded-cell-header !max-w-80" :column="col" /> <LazySmartsheetHeaderCell v-else class="nc-expanded-cell-header max-w-80" :column="col" />
</div> </div>
<template v-if="isLoading"> <template v-if="isLoading">

9
packages/nc-gui/components/smartsheet/header/Cell.vue

@ -95,19 +95,14 @@ const onClick = (e: Event) => {
:class="{ :class="{
'cursor-pointer pt-0.25': !isForm && isUIAllowed('fieldEdit') && !hideMenu && !isExpandedForm, 'cursor-pointer pt-0.25': !isForm && isUIAllowed('fieldEdit') && !hideMenu && !isExpandedForm,
'cursor-default': isForm || !isUIAllowed('fieldEdit') || hideMenu, 'cursor-default': isForm || !isUIAllowed('fieldEdit') || hideMenu,
'!truncate': !isForm, 'truncate': !isForm,
}" }"
class="name pl-1" class="name pl-1"
placement="bottom" placement="bottom"
> >
<template #title> {{ column.title }} </template> <template #title> {{ column.title }} </template>
<div <div :class="{ truncate: !isForm }" :data-test-id="column.title">
:class="{
'!truncate': !isForm,
}"
:data-test-id="column.title"
>
{{ column.title }} {{ column.title }}
</div> </div>
</NcTooltip> </NcTooltip>

Loading…
Cancel
Save