Explorar o código

Merge pull request #714 from sharelatex/as-line-nos

Add rich text line numbers
Alasdair Smith %!s(int64=8) %!d(string=hai) anos
pai
achega
1db937cd50
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      services/web/public/stylesheets/app/editor/rich-text.less

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

@@ -1,11 +1,11 @@
 @rt-font-family: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
 @rt-font-family: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
 // @rt-font-family-serif: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
 // @rt-font-family-serif: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
 
 
-.rich-text {
+.rich-text .CodeMirror {
   font-family: @rt-font-family;
   font-family: @rt-font-family;
   font-size: 1.15em;
   font-size: 1.15em;
 
 
-  pre, .CodeMirror-linewidget {
+  pre {
     font-family: @rt-font-family;
     font-family: @rt-font-family;
   }
   }