Jupyter Notebook:将输入框的大小更改为默认值

时间:2015-09-27 18:23:13

标签: ipython-notebook jupyter

我安装Jupyter Notebook时输入文本字段的默认大小增加了一倍。我不确定它是如何发生的或如何使其恢复到正常大小。如何重置默认值?

Increased text box picture

1 个答案:

答案 0 :(得分:0)

对于Jupyter笔记本服务器是4.2.1

更新~/.jupyter/custom/custom.css以添加以下文字:

/* Make the notebook cells take almost all available width */
.container {
    width: 99% !important;
}   

/* Prevent the edit cell highlight box from getting clipped;
 * important so that it also works when cell is in edit mode*/
div.cell.selected {
    border-left-width: 1px !important;
}