Browse Source

Update Editormd.vue

star7th 7 years ago
parent
commit
38d487a743
1 changed files with 2 additions and 2 deletions
  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>