Merge pull request #710 from Eyenseo/master
Fix different font sizes in editor and code
This commit is contained in:
commit
b88abb171c
|
@ -12,7 +12,8 @@ window.editors = [];
|
||||||
showPrintMargin: false,
|
showPrintMargin: false,
|
||||||
showLineNumbers: false,
|
showLineNumbers: false,
|
||||||
showGutter: false,
|
showGutter: false,
|
||||||
maxLines: Infinity
|
maxLines: Infinity,
|
||||||
|
fontSize: "0.875em" // please adjust the font size of the code in general.styl
|
||||||
});
|
});
|
||||||
|
|
||||||
editor.$blockScrolling = Infinity;
|
editor.$blockScrolling = Infinity;
|
||||||
|
|
|
@ -11,7 +11,7 @@ body {
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace;
|
font-family: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace;
|
||||||
font-size: 0.875em;
|
font-size: 0.875em; // please adjust the ace font size accordingly in editor.js
|
||||||
}
|
}
|
||||||
|
|
||||||
.left {
|
.left {
|
||||||
|
|
Loading…
Reference in New Issue