Don't render check unless needed

old-stable24
Varun Patil 2022-10-10 16:13:52 -07:00
parent 534bf1c116
commit 42e56144b5
1 changed files with 3 additions and 3 deletions

View File

@ -257,10 +257,10 @@ export default class Photo extends Mixins(GlobalMixin) {
background-color: var(--color-main-background);
border-radius: 50%;
cursor: pointer;
opacity: 0;
display: none;
.p-outer:hover > & { opacity: 0.9; }
.selected > & { opacity: 0.9; filter: invert(1); }
.p-outer:hover > & { display: flex; }
.selected > & { display: flex; filter: invert(1); }
}
.video-icon, .star-icon {
position: absolute;