fix(a11y): the sidebar's Chat Menu button is 24 pixels square when Accessibility Mode is on (#33139)

This commit is contained in:
G30 2026-10-24 23:40:45 -04:00 • committed by GitHub
parent 656bdeeb6d
commit efb93cea33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -877,7 +877,9 @@
<button
type="button"
aria-label={$i18n.t('Chat Menu')}
class="flex size-5 items-center justify-center self-center dark:hover:text-white transition m-0"
class="flex {($settings?.highContrastMode ?? false)
? 'size-6'
: 'size-5'} items-center justify-center self-center dark:hover:text-white transition m-0"
>
<MoreHorizontalIcon className="size-3.5" strokeWidth="2" />
</button>