Skip to content

Commit

Permalink
web/DonateOptionsCard: hide the scroller for aria, not all options
Browse files Browse the repository at this point in the history
  • Loading branch information
wukko committed Dec 14, 2024
1 parent 35d9917 commit 689d7b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/src/components/donate/DonateOptionsCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 689d7b4

Please sign in to comment.