Skip to content

Commit

Permalink
fix: layout shift when controls are focussed on android talkback
Browse files Browse the repository at this point in the history
  • Loading branch information
langemike authored and ChristiaanScheermeijer committed Jun 20, 2024
1 parent 906eb56 commit 37b3488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
}

.TileSlider-leftControl {
left: 0;
position: absolute;
left: 1px; /* Fixes layout shifting issues when focussed on Android Talkback */
top: 50%;
transform: translateY(-100%);
z-index: 1;
}

.TileSlider-rightControl {
position: absolute;
right: 0;
right: 1px; /* Fixes layout shifting issues when focussed on Android Talkback */
top: 50%;
transform: translateY(-100%);
}

0 comments on commit 37b3488

Please sign in to comment.