Using dark mode for selected photos

This commit is contained in:
Michael Mayer 2018-09-26 15:07:23 +02:00
parent c5481a177d
commit 98c95084ea

View file

@ -176,6 +176,7 @@
>
<v-hover>
<v-card tile slot-scope="{ hover }"
:dark="photo.selected"
:class="photo.selected ? 'elevation-14 ma-1' : 'elevation-2 ma-2'">
<v-img
:src="photo.getThumbnailUrl('square', 500)"
@ -253,6 +254,7 @@
>
<v-hover>
<v-card tile slot-scope="{ hover }"
:dark="photo.selected"
:class="photo.selected ? 'elevation-14 ma-1' : hover ? 'elevation-6 ma-2' : 'elevation-2 ma-2'">
<v-img :src="photo.getThumbnailUrl('square', 500)"
aspect-ratio="1"