mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-13 13:17:50 +08:00
overriding baseLineHeight is not a good idea
This commit is contained in:
parent
1ee1ce3b3c
commit
b8bf0831f2
@ -2,9 +2,9 @@
|
||||
|
||||
@textColor: @black;
|
||||
@baseFontSize: 13px;
|
||||
@baseLineHeight: 1.231;
|
||||
@monoFontFamily: monospace; // to allow user to customize their fonts
|
||||
@monoFontFamily: monospace; // to allow user to customize their fonts
|
||||
|
||||
// Our own global variables for all pages go here
|
||||
|
||||
@corner_radius: 4px;
|
||||
@corner_radius: 4px;
|
||||
@code_line_height: 1.231em;
|
||||
|
@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
.CodeMirror {
|
||||
line-height: @baseLineHeight; /* Changed from 1em to our global default */
|
||||
line-height: @code_line_height; /* Changed from 1em to our global default */
|
||||
height: auto; /* Changed to auto to autogrow */
|
||||
background: none; /* Changed from white to allow our bg to show through */
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ div.output_text {
|
||||
color: @textColor;
|
||||
font-family: @monoFontFamily;
|
||||
/* This has to match that of the the CodeMirror class line-height below */
|
||||
line-height: @baseLineHeight;
|
||||
line-height: @code_line_height;
|
||||
}
|
||||
|
||||
/* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */
|
||||
|
@ -13,7 +13,7 @@ div#pager {
|
||||
|
||||
pre {
|
||||
font-size: @baseFontSize;
|
||||
line-height: @baseLineHeight;
|
||||
line-height: @code_line_height;
|
||||
color: @textColor;
|
||||
background-color: @cell_background;
|
||||
padding: 0.4em;
|
||||
|
Loading…
x
Reference in New Issue
Block a user