fix(ui): prevent highlighting and dragging of text in admin settings menu link (#21761)

This commit is contained in:
G30
2026-02-23 02:21:55 -05:00
committed by GitHub
parent 49a1b37e5d
commit 238e9da209

View File

@@ -853,7 +853,8 @@
{#if $user?.role === 'admin'}
<a
href="/admin/settings"
class="px-0.5 md:px-2.5 py-1 min-w-fit rounded-xl flex-1 md:flex-none md:mt-auto flex text-left transition {$settings?.highContrastMode
draggable="false"
class="px-0.5 md:px-2.5 py-1 min-w-fit rounded-xl flex-1 md:flex-none md:mt-auto flex select-none text-left transition {$settings?.highContrastMode
? 'hover:bg-gray-200 dark:hover:bg-gray-800'
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'}"
on:click={async (e) => {