web/DonateOptionsCard: hide the scroller for aria, not all options

This commit is contained in:
wukko 2024-12-14 13:07:30 +06:00
parent 35d9917301
commit 689d7b4846
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -138,13 +138,12 @@
<div
id="donation-options-container"
aria-hidden="true"
class:mask-both={!device.is.mobile && showLeftScroll && showRightScroll}
class:mask-left={!device.is.mobile && showLeftScroll && !showRightScroll}
class:mask-right={!device.is.mobile && showRightScroll && !showLeftScroll}
>
{#if !device.is.mobile}
<div id="donation-options-scroll">
<div id="donation-options-scroll" aria-hidden="true">
<button
class="scroll-button left"
class:hidden={!showLeftScroll}