Browse Source

fix(nc-gui): hide long text expand button on list item

pull/7426/head
Ramesh Mane 7 months ago
parent
commit
53abbd5d5f
  1. 12
      packages/nc-gui/components/virtual-cell/components/ListItem.vue

12
packages/nc-gui/components/virtual-cell/components/ListItem.vue

@ -88,7 +88,7 @@ const displayValue = computed(() => {
<template>
<a-card
class="!border-1 group transition-all !rounded-xl relative !mb-2 !border-gray-200 hover:bg-gray-50"
class="nc-list-item !border-1 group transition-all !rounded-xl relative !mb-2 !border-gray-200 hover:bg-gray-50"
:class="{
'!bg-white': isLoading,
'!border-1': isLinked && !isLoading,
@ -194,3 +194,13 @@ const displayValue = computed(() => {
@apply rounded-lg;
}
</style>
<style lang="scss">
.nc-list-item {
&:hover {
.nc-text-area-expand-btn {
@apply !hidden;
}
}
}
</style>

Loading…
Cancel
Save