Browse Source

Рефакторинг

Book Pauk 5 năm trước cách đây
mục cha
commit
152806b7f6

+ 1 - 3
client/components/Reader/ProgressPage/ProgressPage.vue

@@ -1,5 +1,5 @@
 <template>
 <template>
-    <div v-show="visible" class="flex column justify-center items-center z-max" style="background-color: rgba(0, 0, 0, 0.8)">
+    <div v-show="visible" class="fit flex column justify-center items-center z-max" style="background-color: rgba(0, 0, 0, 0.8)">
         <div class="flex column justify-start items-center" style="height: 250px">
         <div class="flex column justify-start items-center" style="height: 250px">
             <q-circular-progress
             <q-circular-progress
                 show-value
                 show-value
@@ -48,8 +48,6 @@ class ProgressPage extends Vue {
     visible = false;
     visible = false;
 
 
     show() {
     show() {
-        this.$el.style.width = this.$parent.$el.offsetWidth + 'px';
-        this.$el.style.height = this.$parent.$el.offsetHeight + 'px';
         this.text = '';
         this.text = '';
         this.totalSteps = 1;
         this.totalSteps = 1;
         this.step = 1;
         this.step = 1;