Pārlūkot izejas kodu

fix image rotation

Michael Wang 5 gadi atpakaļ
vecāks
revīzija
5f0dd05bc5
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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