photo: disable overlays on touch

pull/175/head
Varun Patil 2022-11-07 05:27:58 -08:00
parent a0b2bb3206
commit 166d6c3a9b
1 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@
placeholder: data.flag & c.FLAG_PLACEHOLDER,
leaving: data.flag & c.FLAG_LEAVING,
error: data.flag & c.FLAG_LOAD_FAIL,
hasTouch: hasTouch,
}"
>
<CheckCircle
@ -249,7 +250,7 @@ $icon-size: $icon-half-size * 2;
cursor: pointer;
display: none;
.p-outer:hover > & {
.p-outer:not(.hasTouch):hover > & {
display: flex;
}
@ -340,7 +341,7 @@ div.img-outer {
display: none;
transition: border-radius 0.1s ease-in;
.p-outer:not(.selected):hover > & {
.p-outer:not(.hasTouch):not(.selected):hover > & {
display: block;
}
}