cxmo 6 mesiacov pred
rodič
commit
c9c9ca856f

+ 2 - 5
src/styles/global.scss

@@ -137,11 +137,9 @@ button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusri
 .chart-bottom-insruction-info {
     margin-top: 10px;
     display: flex;
-    gap: 0 20px;
     .chart-source {
         /* width: 30%; */
-        flex:1;
-        min-width: 150px;
+        flex:auto;
     }
 
 
@@ -153,7 +151,6 @@ button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusri
     }
 
     .chart-instruction {
-        width: 30%;
-        text-align: right;
+        width:30%;
     }
 }

+ 1 - 1
src/views/ppt_manage/newVersion/components/formatEl/ChartEl.vue

@@ -55,7 +55,7 @@
     <!-- 图表说明 -->
     <div 
       class="chart-instruction text_oneLine"
-      v-if="chartInstructions&&chartInstructions.isShow"
+      v-if="chartInstructions&&chartInstructions.isShow&&chartInstructions.text.length"
       v-text="chartInstructions.text"
       :style="`
         color: ${chartInstructions.color};