Skip to content

Commit

Permalink
fix(a11y): Backwards photos tabulation
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Pytal committed Nov 15, 2023
1 parent cd41849 commit 10b866c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/File.vue
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export default {
// Reveal checkbox on hover.
&:hover, &.selected, &:focus-within {
.selection-checkbox {
display: flex;
opacity: 1;
}

.favorite-state {
Expand All @@ -322,7 +322,7 @@ export default {
}

.selection-checkbox {
display: none;
opacity: 0;
position: absolute;
top: 8px;
// Fancy calculation to render the checkbox in the middle of narrow images.
Expand Down

0 comments on commit 10b866c

Please sign in to comment.