diff --git a/packages/nc-gui/assets/style.scss b/packages/nc-gui/assets/style.scss index 7df65992f7..30453318d4 100644 --- a/packages/nc-gui/assets/style.scss +++ b/packages/nc-gui/assets/style.scss @@ -271,3 +271,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 e35c39fdac..af1b931596 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'] @@ -129,6 +132,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 f3fa740b17..12828945cb 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,7 +72,7 @@ watch(