diff options
author | OzoneGrif | 2020-01-31 02:26:12 +0100 |
---|---|---|
committer | GitHub | 2020-01-31 02:26:12 +0100 |
commit | d94b987463169b254ab69a79ddb58e5beccb0941 (patch) | |
tree | 51f66cdada6a8e920ba80a3aae76393e0127d825 /viewer/src/views/GalleryPicture.vue | |
parent | 15c806adec22239096a910b92b49fcfb964815bd (diff) | |
parent | 2157b66f3ea43137391939992cac4dc901a4ac4e (diff) | |
download | ldgallery-d94b987463169b254ab69a79ddb58e5beccb0941.tar.gz |
Merge pull request #65 from pacien/oz-viewer
viewer improvements
Diffstat (limited to 'viewer/src/views/GalleryPicture.vue')
-rw-r--r-- | viewer/src/views/GalleryPicture.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/viewer/src/views/GalleryPicture.vue b/viewer/src/views/GalleryPicture.vue index 579e74b..323333a 100644 --- a/viewer/src/views/GalleryPicture.vue +++ b/viewer/src/views/GalleryPicture.vue | |||
@@ -25,7 +25,7 @@ | |||
25 | @click="onClick" | 25 | @click="onClick" |
26 | @dragscrollstart="dragging=true" | 26 | @dragscrollstart="dragging=true" |
27 | > | 27 | > |
28 | <img :src="pictureSrc" /> | 28 | <v-lazy-image :src="pictureSrc" /> |
29 | </div> | 29 | </div> |
30 | </template> | 30 | </template> |
31 | 31 | ||
@@ -56,6 +56,7 @@ export default class GalleryPicture extends Vue { | |||
56 | height: 100%; | 56 | height: 100%; |
57 | & > img { | 57 | & > img { |
58 | object-fit: contain; | 58 | object-fit: contain; |
59 | cursor: zoom-in; | ||
59 | } | 60 | } |
60 | } | 61 | } |
61 | .originalSize { | 62 | .originalSize { |
@@ -67,6 +68,7 @@ export default class GalleryPicture extends Vue { | |||
67 | max-width: unset; | 68 | max-width: unset; |
68 | max-height: unset; | 69 | max-height: unset; |
69 | object-fit: none; | 70 | object-fit: none; |
71 | cursor: zoom-out; | ||
70 | } | 72 | } |
71 | } | 73 | } |
72 | </style> | 74 | </style> |