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