mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-06 12:19:08 +01:00
fix: disable selecting elements in navbar (#1147)
This commit is contained in:
parent
185bfd1ee3
commit
92b9746cd7
4 changed files with 4 additions and 2 deletions
|
@ -66,7 +66,7 @@ const noUserVisual = computed(() => isHydrated.value && props.userOnly && !curre
|
||||||
<div :class="icon" text-xl />
|
<div :class="icon" text-xl />
|
||||||
</slot>
|
</slot>
|
||||||
<slot>
|
<slot>
|
||||||
<span block sm:hidden xl:block>{{ isHydrated ? text : ' ' }}</span>
|
<span block sm:hidden xl:block select-none>{{ isHydrated ? text : ' ' }}</span>
|
||||||
</slot>
|
</slot>
|
||||||
</div>
|
</div>
|
||||||
</CommonTooltip>
|
</CommonTooltip>
|
||||||
|
|
|
@ -17,6 +17,7 @@ router.afterEach(() => {
|
||||||
flex items-end gap-4
|
flex items-end gap-4
|
||||||
py2 px-5
|
py2 px-5
|
||||||
text-2xl
|
text-2xl
|
||||||
|
select-none
|
||||||
focus-visible:ring="2 current"
|
focus-visible:ring="2 current"
|
||||||
to="/"
|
to="/"
|
||||||
external
|
external
|
||||||
|
|
|
@ -66,6 +66,7 @@ const activate = () => {
|
||||||
bg-transparent
|
bg-transparent
|
||||||
outline="focus:none"
|
outline="focus:none"
|
||||||
pe-4
|
pe-4
|
||||||
|
select-none
|
||||||
:placeholder="isHydrated ? t('nav.search') : ''"
|
:placeholder="isHydrated ? t('nav.search') : ''"
|
||||||
pb="1px"
|
pb="1px"
|
||||||
placeholder-text-secondary
|
placeholder-text-secondary
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<p text-sm text-secondary>
|
<p text-sm text-secondary>
|
||||||
{{ $t('user.sign_in_desc') }}
|
{{ $t('user.sign_in_desc') }}
|
||||||
</p>
|
</p>
|
||||||
<button btn-solid rounded-3 text-center mt-2 @click="openSigninDialog()">
|
<button btn-solid rounded-3 text-center mt-2 select-none @click="openSigninDialog()">
|
||||||
{{ $t('action.sign_in') }}
|
{{ $t('action.sign_in') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue