mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:23:10 +00:00
Fix styling for line numbers
Need to use .CodeMirror to override specificity of CM styles. This should mean that CM styles use serifed font not monospaced
This commit is contained in:
parent
9f5e976539
commit
ae26237c2b
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
|||
@rt-font-family: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
|
||||
// @rt-font-family-serif: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
|
||||
|
||||
.rich-text {
|
||||
.rich-text .CodeMirror {
|
||||
font-family: @rt-font-family;
|
||||
font-size: 1.15em;
|
||||
|
||||
pre, .CodeMirror-linewidget {
|
||||
pre {
|
||||
font-family: @rt-font-family;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue