mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-01 17:32:52 -05: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:
1 file changed
+6
-2
@@ -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)}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user