mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.0 KiB
33 lines
1.0 KiB
<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>
|
|
|