From a1604deeeeeaf40de8e055e1591c1f378e4ba265 Mon Sep 17 00:00:00 2001 From: mcelrath Date: Thu, 7 Jun 2012 22:30:58 -0700 Subject: [PATCH] Fix vertical offset due to bold/italics, and bad browser fonts. --- IPython/frontend/html/notebook/static/css/notebook.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/IPython/frontend/html/notebook/static/css/notebook.css b/IPython/frontend/html/notebook/static/css/notebook.css index fd16afd3e..0a1f975e0 100644 --- a/IPython/frontend/html/notebook/static/css/notebook.css +++ b/IPython/frontend/html/notebook/static/css/notebook.css @@ -242,6 +242,10 @@ div.text_cell_render { color: black; } +.CodeMirror span { + vertical-align: bottom; +} + .CodeMirror { line-height: 1.231; /* Changed from 1em to our global default */ }