star7th 8 лет назад
Родитель
Сommit
38d487a743
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      web_src/src/components/common/Editormd.vue

+ 2 - 2
web_src/src/components/common/Editormd.vue

@@ -235,7 +235,7 @@ export default {
         $("#"+this.id+" table thead tr").css("color","#fff") ;
 
         //代码块美化
-        $("#"+this.id+" .linenums").css("padding-left","0px") ;
+        $("#"+this.id+" .linenums").css("padding-left","5px") ;
         $("#"+this.id+" .linenums li").css("list-style-type","none") ;
         $("#"+this.id+" .linenums li").css("background-color","#fcfcfc") ;
         $("#"+this.id+" pre").css("background-color","#fcfcfc") ;
@@ -243,4 +243,4 @@ export default {
     },
   }
 };
-</script>
+</script>