Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(nc-gui): currency code visibility & rich text height issue

Ramesh Mane267cdd9a83c3
diff --git a/packages/nc-gui/components/smartsheet/column/AiButtonOptions.vue b/packages/nc-gui/components/smartsheet/column/AiButtonOptions.vue
index ea420be2e5..e281b83dbf 100644
--- a/packages/nc-gui/components/smartsheet/column/AiButtonOptions.vue
+++ b/packages/nc-gui/components/smartsheet/column/AiButtonOptions.vue
@@ -980,6 +980,10 @@ onBeforeUnmount(() => {
@apply !rounded-lg;
transition: all 0.3s;
+ &:has(.nc-cell-currency) {
+ @apply h-8;
+ }
+
&.nc-readonly-div-data-cell,
&.nc-system-field {
@apply !border-gray-200;
@@ -1027,6 +1031,15 @@ onBeforeUnmount(() => {
}
}
}
+
+:deep(.nc-data-cell > .nc-cell-longtext) {
+ .long-text-wrapper {
+ & > div {
+ @apply max-h-50 nc-scrollbar-thin;
+ }
+ }
+}
+
.nc-data-cell:focus-within {
@apply !border-1 !border-purple-500;
}