Explorar o código

滑块样式修复,最小字体设置

cxmo hai 9 meses
pai
achega
c5fd6414dd
Modificáronse 2 ficheiros con 5 adicións e 5 borrados
  1. 4 4
      src/App.vue
  2. 1 1
      src/views/ppt_manage/mixins/pptMixins.js

+ 4 - 4
src/App.vue

@@ -242,9 +242,9 @@ div::-webkit-scrollbar-corner {
   background: #666;
 }
 /*firefox*/
-div{
+/* div{
     scrollbar-width: thin;
-}
+} */
 .customName:hover {
   text-decoration: underline;
 }
@@ -294,9 +294,9 @@ ul::-webkit-scrollbar-corner {
   background: #666;
 }
 /*firefox*/
-ul{
+/* ul{
     scrollbar-width: thin;
-}
+} */
 
 textarea {
   font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",

+ 1 - 1
src/views/ppt_manage/mixins/pptMixins.js

@@ -543,7 +543,7 @@ export default {
         let titleHTML = null
         //中英文发布页需设置title换行
         //一行可容纳的中文字体数
-        const fontSize = chartTheme?chartTheme.titleOptions.style.fontSize:1
+        const fontSize = chartTheme?chartTheme.titleOptions.style.fontSize:16
         let count = parseInt($(`#${refName}`)[0].offsetWidth / fontSize)*1.75
         let {total,newStr} = getStrSize(options.MyChartTitle,count)
         const isPublish = this.$route.path==='/pptpublish'||this.$route.path==='/pptenpublish'