Files
nocodb/packages/nc-gui/components/workspace/Menu.vue
Pranav C ea6ce8d27b Miscellaneous fixes and improvements (#9699)
* fix: base icon color in breadcrumb

* fix: allow expanding nested record from expanded form

* fix: focus base lable in tree view on create/delete/load

* fix: avoid allowing deletion of display value

* fix: focus input field if activeElement is div

* fix: text area height issue

* refactor: show app version on hovering nocodb icon

* refactor: focus only if adding new record

* refactor: extract foreign key value for external source
2024-10-25 12:04:34 +05:30

34 lines
1.0 KiB
Vue

<script lang="ts" setup>
const { appInfo } = useGlobal()
</script>
<template>
<div class="flex flex-row flex-grow pl-0.5 pr-1 py-0.5 rounded-md w-full" style="max-width: calc(100% - 2.5rem)">
<div class="flex-grow min-w-20">
<div
data-testid="nc-workspace-menu"
class="flex items-center nc-workspace-menu overflow-hidden py-1.25 pr-0.25 justify-center w-full ml-2"
>
<a
class="transition-all duration-200 transform w-24 min-w-10"
href="https://github.com/nocodb/nocodb"
target="_blank"
rel="noopener noreferrer"
>
<NcTooltip :disabled="!appInfo?.version || isEeUI">
<template #title>{{ appInfo?.version }}</template>
<img alt="NocoDB" src="~/assets/img/brand/nocodb.png" />
</NcTooltip>
</a>
<div class="flex flex-grow"></div>
</div>
</div>
</div>
</template>
<style scoped lang="scss">
.nc-workspace-menu-item {
@apply flex items-center pl-2 py-2 gap-2 text-sm hover:text-black;
}
</style>