Browse Source

fix image rotation

Michael Wang 5 năm trước cách đây
mục cha
commit
5f0dd05bc5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/features/OnlineExam/Examing/UploadPhotos.vue

+ 1 - 1
src/features/OnlineExam/Examing/UploadPhotos.vue

@@ -52,7 +52,7 @@
       <img
         :src="imgUrl"
         v-if="visible"
-        :style="{ width: '100%', rotate: rotate + 'deg' }"
+        :style="{ width: '100%', transform: 'rotate(' + rotate + 'deg)' }"
       />
       <div style="display: flex; justify-content: center;">
         <Button