From 15a9612308337251c513284973c11a94f18d1d5d Mon Sep 17 00:00:00 2001 From: Michael Zhou Date: Fri, 16 Aug 2013 10:45:21 -0700 Subject: [PATCH] Increase padding-bottom to 0.11em on CodeMirror lines Underscores were reported missing under certain zoom levels in Firefox. (https://groups.google.com/forum/#!topic/repo-discuss/_tFbbWg6KLU) Increased the padding to 0.11em. Change-Id: Ic4a689ba37996b0465d9d06f75b424e80ab30848 --- .../java/com/google/gerrit/client/diff/DiffTable.ui.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/diff/DiffTable.ui.xml b/gerrit-gwtui/src/main/java/com/google/gerrit/client/diff/DiffTable.ui.xml index 9b49f0a897..7198d55b9d 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/diff/DiffTable.ui.xml +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/diff/DiffTable.ui.xml @@ -27,11 +27,11 @@ limitations under the License. } .difftable .CodeMirror pre { padding: 0; - padding-bottom: 0.1em; + padding-bottom: 0.11em; overflow: hidden; } .difftable .CodeMirror pre span { - padding-bottom: 0.1em; + padding-bottom: 0.11em; } .sidePanelCell { width: 10px; @@ -95,7 +95,7 @@ limitations under the License. background-color: inherit !important; } .difftable .CodeMirror-linenumber { - height: 1.1em; + height: 1.11em; cursor: pointer; } .hideNumber .CodeMirror-linenumber {