You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrap each slider-dot in a button to increase the clickable area and move cursor/padding classes to the button. Update the dot element classnames to include 'block' for the inner span. Add a TypeScript NodeListOf<HTMLElement> cast for dots and change event listener registration to query [data-dot] (the buttons) instead of the inner span. These changes align markup and JS so clicks target the button and the visual dot remains a span.
0 commit comments