mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-13 08:46:56 +08:00
👀 Blocked user selection for the icon
This commit is contained in:
parent
46ac870d81
commit
caf6609bbd
@ -88,7 +88,7 @@
|
|||||||
<!-- Image -->
|
<!-- Image -->
|
||||||
{#if wordmarkSvg == true}
|
{#if wordmarkSvg == true}
|
||||||
<img
|
<img
|
||||||
class="hidden dark:block mb-4 mt-2 h-10"
|
class="hidden dark:block mb-4 mt-2 h-10 select-none"
|
||||||
src={typeof svgInfo.wordmark !== 'string'
|
src={typeof svgInfo.wordmark !== 'string'
|
||||||
? svgInfo.wordmark?.dark || ''
|
? svgInfo.wordmark?.dark || ''
|
||||||
: svgInfo.wordmark || ''}
|
: svgInfo.wordmark || ''}
|
||||||
@ -97,7 +97,7 @@
|
|||||||
loading="lazy"
|
loading="lazy"
|
||||||
/>
|
/>
|
||||||
<img
|
<img
|
||||||
class="block dark:hidden mb-4 mt-2 h-10"
|
class="block dark:hidden mb-4 mt-2 h-10 select-none"
|
||||||
src={typeof svgInfo.wordmark !== 'string'
|
src={typeof svgInfo.wordmark !== 'string'
|
||||||
? svgInfo.wordmark?.light || ''
|
? svgInfo.wordmark?.light || ''
|
||||||
: svgInfo.wordmark || ''}
|
: svgInfo.wordmark || ''}
|
||||||
@ -107,14 +107,14 @@
|
|||||||
/>
|
/>
|
||||||
{:else}
|
{:else}
|
||||||
<img
|
<img
|
||||||
class={cn('hidden dark:block mb-4 mt-2 h-10')}
|
class={cn('hidden dark:block mb-4 mt-2 h-10 select-none')}
|
||||||
src={typeof svgInfo.route !== 'string' ? svgInfo.route.dark : svgInfo.route}
|
src={typeof svgInfo.route !== 'string' ? svgInfo.route.dark : svgInfo.route}
|
||||||
alt={svgInfo.title}
|
alt={svgInfo.title}
|
||||||
title={svgInfo.title}
|
title={svgInfo.title}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
/>
|
/>
|
||||||
<img
|
<img
|
||||||
class={cn('block dark:hidden mb-4 mt-2 h-10')}
|
class={cn('block dark:hidden mb-4 mt-2 h-10 select-none')}
|
||||||
src={typeof svgInfo.route !== 'string' ? svgInfo.route.light : svgInfo.route}
|
src={typeof svgInfo.route !== 'string' ? svgInfo.route.light : svgInfo.route}
|
||||||
alt={svgInfo.title}
|
alt={svgInfo.title}
|
||||||
title={svgInfo.title}
|
title={svgInfo.title}
|
||||||
|
Loading…
Reference in New Issue
Block a user