mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Changing CodeMirror-scroll to overflow-y: hidden.
* It seems that our old setting of visible was causing scroll bars to appear if font sizes change in Chrome. * Also changed json -> xml in Download UI.
This commit is contained in:
parent
ea8b4de42d
commit
133b96d086
@ -266,13 +266,15 @@ div.text_cell_render {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.CodeMirror {
|
.CodeMirror {
|
||||||
line-height: 1.231; /* Changed from 1em to our global default */
|
line-height: 1.231; /* Changed from 1em to our global default */
|
||||||
}
|
}
|
||||||
|
|
||||||
.CodeMirror-scroll {
|
.CodeMirror-scroll {
|
||||||
height: auto; /* Changed to auto to autogrow */
|
height: auto; /* Changed to auto to autogrow */
|
||||||
overflow-y: visible; /* Changed from auto to remove scrollbar */
|
/* The CodeMirror docs are a bit fuzzy on if overflow-y should be hidden or visible.*/
|
||||||
overflow-x: auto; /* Changed from auto to remove scrollbar */
|
/* We have found that if it is visible, vertical scrollbars appear with font size changes.*/
|
||||||
|
overflow-y: hidden;
|
||||||
|
overflow-x: auto; /* Changed from auto to remove scrollbar */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* CSS font colors for translated ANSI colors. */
|
/* CSS font colors for translated ANSI colors. */
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
<div class="section_row">
|
<div class="section_row">
|
||||||
<span>
|
<span>
|
||||||
<select id="download_format">
|
<select id="download_format">
|
||||||
<option value="json">json</option>
|
<option value="json">ipynb</option>
|
||||||
<option value="py">py</option>
|
<option value="py">py</option>
|
||||||
</select>
|
</select>
|
||||||
</span>
|
</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user