diff --git a/packages/nc-gui/assets/style.scss b/packages/nc-gui/assets/style.scss index c1a3fedab5..5f48e330bf 100644 --- a/packages/nc-gui/assets/style.scss +++ b/packages/nc-gui/assets/style.scss @@ -277,3 +277,7 @@ a { transform: scale(75%); transform-origin: bottom right; } + +.nc-toolbar-btn { + @apply !shadow-none rounded hover:(ring-1 ring-primary ring-opacity-100) focus:(ring-1 ring-accent ring-opacity-100); +} \ No newline at end of file diff --git a/packages/nc-gui/components.d.ts b/packages/nc-gui/components.d.ts index 26d19b66e2..91dccfd0ca 100644 --- a/packages/nc-gui/components.d.ts +++ b/packages/nc-gui/components.d.ts @@ -100,7 +100,10 @@ declare module '@vue/runtime-core' { MaterialSymbolsAttachFile: typeof import('~icons/material-symbols/attach-file')['default'] MaterialSymbolsChevronRightRounded: typeof import('~icons/material-symbols/chevron-right-rounded')['default'] MaterialSymbolsCloseRounded: typeof import('~icons/material-symbols/close-rounded')['default'] + MaterialSymbolsDarkModeOutline: typeof import('~icons/material-symbols/dark-mode-outline')['default'] MaterialSymbolsFileCopyOutline: typeof import('~icons/material-symbols/file-copy-outline')['default'] + MaterialSymbolsKeyboardReturn: typeof import('~icons/material-symbols/keyboard-return')['default'] + MaterialSymbolsLightModeOutline: typeof import('~icons/material-symbols/light-mode-outline')['default'] MaterialSymbolsRocketLaunchOutline: typeof import('~icons/material-symbols/rocket-launch-outline')['default'] MaterialSymbolsSendOutline: typeof import('~icons/material-symbols/send-outline')['default'] MaterialSymbolsTranslate: typeof import('~icons/material-symbols/translate')['default'] @@ -131,6 +134,7 @@ declare module '@vue/runtime-core' { MdiCheck: typeof import('~icons/mdi/check')['default'] MdiChevronDown: typeof import('~icons/mdi/chevron-down')['default'] MdiChevronLeft: typeof import('~icons/mdi/chevron-left')['default'] + MdiChevronRight: typeof import('~icons/mdi/chevron-right')['default'] MdiClose: typeof import('~icons/mdi/close')['default'] MdiCloseBox: typeof import('~icons/mdi/close-box')['default'] MdiCloseCircle: typeof import('~icons/mdi/close-circle')['default'] diff --git a/packages/nc-gui/components/cell/Url.vue b/packages/nc-gui/components/cell/Url.vue index 36325832d9..f37da134e4 100644 --- a/packages/nc-gui/components/cell/Url.vue +++ b/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,14 +72,8 @@ watch(