mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
👀 Blocked user selection for the icon
This commit is contained in:
parent
46ac870d81
commit
caf6609bbd
@ -88,7 +88,7 @@
|
||||
<!-- Image -->
|
||||
{#if wordmarkSvg == true}
|
||||
<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'
|
||||
? svgInfo.wordmark?.dark || ''
|
||||
: svgInfo.wordmark || ''}
|
||||
@ -97,7 +97,7 @@
|
||||
loading="lazy"
|
||||
/>
|
||||
<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'
|
||||
? svgInfo.wordmark?.light || ''
|
||||
: svgInfo.wordmark || ''}
|
||||
@ -107,14 +107,14 @@
|
||||
/>
|
||||
{:else}
|
||||
<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}
|
||||
alt={svgInfo.title}
|
||||
title={svgInfo.title}
|
||||
loading="lazy"
|
||||
/>
|
||||
<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}
|
||||
alt={svgInfo.title}
|
||||
title={svgInfo.title}
|
||||
|
Loading…
Reference in New Issue
Block a user