mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-29 06:32:52 +00:00
fix(a11y): Calendar's previous and next month buttons are 24 pixels square when Accessibility Mode is on (#33147)
This commit is contained in:
parent
5f95008abd
commit
e3b34d7bf9
1 changed files with 6 additions and 2 deletions
|
|
@ -110,7 +110,9 @@
|
|||
<div class="text-[0.6875rem] font-normal">{miniMonthNames[miniMonth]} {miniYear}</div>
|
||||
<div class="flex items-center gap-0.5">
|
||||
<button
|
||||
class="p-0.5 rounded hover:bg-gray-100 dark:hover:bg-gray-800 transition"
|
||||
class="{($settings?.highContrastMode ?? false)
|
||||
? 'p-1.5'
|
||||
: 'p-0.5'} rounded hover:bg-gray-100 dark:hover:bg-gray-800 transition"
|
||||
aria-label={$i18n.t('Previous month')}
|
||||
on:click={() => navigateMini(-1)}
|
||||
>
|
||||
|
|
@ -129,7 +131,9 @@
|
|||
>
|
||||
</button>
|
||||
<button
|
||||
class="p-0.5 rounded hover:bg-gray-100 dark:hover:bg-gray-800 transition"
|
||||
class="{($settings?.highContrastMode ?? false)
|
||||
? 'p-1.5'
|
||||
: 'p-0.5'} rounded hover:bg-gray-100 dark:hover:bg-gray-800 transition"
|
||||
aria-label={$i18n.t('Next month')}
|
||||
on:click={() => navigateMini(1)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue