Skip to content

Commit

Permalink
fix(mobile): disable hover actions in CSS
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <radialapps@gmail.com>
  • Loading branch information
pulsejet committed Oct 24, 2023
1 parent c097bd4 commit e6d288d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/frame/Photo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ $icon-size: $icon-half-size * 2;
opacity: 1;
}
@media (hover: hover) {
@media (hover: hover) and (pointer: fine) {
.p-outer:hover > & {
@include visible;
}
Expand Down Expand Up @@ -433,7 +433,7 @@ div.img-outer {
display: none;
transition: border-radius 0.1s ease-in;
@media (hover: hover) {
@media (hover: hover) and (pointer: fine) {
.p-outer:not(.selected):hover > & {
display: block;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/frame/RowHead.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default defineComponent({
}
// Show the icon (gray) when hovering or selected
@media (hover: hover) {
@media (hover: hover) and (pointer: fine) {
&:hover {
@include visible;
}
Expand Down

0 comments on commit e6d288d

Please sign in to comment.