diff options
| author | Mark Felder <feld@FreeBSD.org> | 2020-06-25 15:28:17 -0500 |
|---|---|---|
| committer | Mark Felder <feld@FreeBSD.org> | 2020-06-25 15:28:17 -0500 |
| commit | 199fc9351d2db400a966750a23c2b3077345a383 (patch) | |
| tree | 657c01da3db0bcace07c7003d61456c5940aa7d0 /src/components/still-image/still-image.vue | |
| parent | b8350423d97cf81708795ec6383803413e7bff98 (diff) | |
| parent | bbb91d8ae3f1c3d5374de7610e723e63121e8222 (diff) | |
Merge branch 'develop' into refactor/notification_settings
Diffstat (limited to 'src/components/still-image/still-image.vue')
| -rw-r--r-- | src/components/still-image/still-image.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/still-image/still-image.vue b/src/components/still-image/still-image.vue index 4137bd59..f2ddeb7b 100644 --- a/src/components/still-image/still-image.vue +++ b/src/components/still-image/still-image.vue @@ -23,12 +23,15 @@ <style lang="scss"> @import '../../_variables.scss'; + .still-image { position: relative; line-height: 0; overflow: hidden; width: 100%; height: 100%; + display: flex; + align-items: center; &:hover canvas { display: none; @@ -36,7 +39,7 @@ img { width: 100%; - height: 100%; + min-height: 100%; object-fit: contain; } |
