Просмотр исходного кода

Add horizontal padding to RT lines

This is to emulate a manusript better
Alasdair Smith 8 лет назад
Родитель
Сommit
4d611ca399
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      services/web/public/stylesheets/app/editor/rich-text.less

+ 5 - 0
services/web/public/stylesheets/app/editor/rich-text.less

@@ -8,6 +8,11 @@
     font-family: @rt-font-family-serif;
   }
 
+  .CodeMirror-line {
+    // Add horizontal padding, to emulate a manuscript more closely
+    padding: 0 8%;
+  }
+
   // TODO: Change prefix away from wl- ?
 
   /****************************************************************************/