aboutsummaryrefslogtreecommitdiff
path: root/src/components/still-image/still-image.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-08-27 22:40:30 +0300
committerHenry Jameson <me@hjkos.com>2018-08-27 22:40:30 +0300
commitfd604dfd2a8110ea62028d399917937b4535ea51 (patch)
tree0157fd4439a244ed5ed08c4cd9b848f86305e898 /src/components/still-image/still-image.vue
parenteacbd9b5009a3646854b59e9983753fd288ea1c4 (diff)
fixed still-image not preserving original aspect ratio and resolution.
Diffstat (limited to 'src/components/still-image/still-image.vue')
-rw-r--r--src/components/still-image/still-image.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/still-image/still-image.vue b/src/components/still-image/still-image.vue
index a37c678d..e23f8bc1 100644
--- a/src/components/still-image/still-image.vue
+++ b/src/components/still-image/still-image.vue
@@ -60,6 +60,7 @@
right: 0;
width: 100%;
height: 100%;
+ object-fit: contain;
}
}
</style>