Don't render check unless needed
parent
534bf1c116
commit
42e56144b5
|
@ -257,10 +257,10 @@ export default class Photo extends Mixins(GlobalMixin) {
|
||||||
background-color: var(--color-main-background);
|
background-color: var(--color-main-background);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
opacity: 0;
|
display: none;
|
||||||
|
|
||||||
.p-outer:hover > & { opacity: 0.9; }
|
.p-outer:hover > & { display: flex; }
|
||||||
.selected > & { opacity: 0.9; filter: invert(1); }
|
.selected > & { display: flex; filter: invert(1); }
|
||||||
}
|
}
|
||||||
.video-icon, .star-icon {
|
.video-icon, .star-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in New Issue