fix: disable selecting elements in navbar (#1147)

This commit is contained in:
sechi 2023-01-15 23:42:16 +08:00 committed by GitHub
parent 185bfd1ee3
commit 92b9746cd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 2 deletions

View file

@ -66,7 +66,7 @@ const noUserVisual = computed(() => isHydrated.value && props.userOnly && !curre
<div :class="icon" text-xl />
</slot>
<slot>
<span block sm:hidden xl:block>{{ isHydrated ? text : '&nbsp;' }}</span>
<span block sm:hidden xl:block select-none>{{ isHydrated ? text : '&nbsp;' }}</span>
</slot>
</div>
</CommonTooltip>