image box-shadow
This commit is contained in:
parent
ae18041878
commit
12a8b98e75
|
@ -17,7 +17,7 @@
|
||||||
<transition name="trans-image" mode="out-in">
|
<transition name="trans-image" mode="out-in">
|
||||||
<img v-if="displayImageUrl !== null"
|
<img v-if="displayImageUrl !== null"
|
||||||
:key="displayImageUrl"
|
:key="displayImageUrl"
|
||||||
class="image"
|
class="image image-shadow"
|
||||||
:src="displayImageUrl"
|
:src="displayImageUrl"
|
||||||
>
|
>
|
||||||
</transition>
|
</transition>
|
||||||
|
@ -142,6 +142,10 @@ export default {
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.image-shadow {
|
||||||
|
box-shadow: 2px 4px 12px -2px rgba($color__neutral-200, .4);
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: $bp__layout) {
|
@media (max-width: $bp__layout) {
|
||||||
.close-viewer {
|
.close-viewer {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in New Issue