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 2724db3df2..ead90caa8b 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 @@ -29,13 +29,15 @@ limitations under the License. border-bottom: 1px solid #ddd; } - .difftable { + .difftable .patchSetNav, + .difftable .CodeMirror { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; } + .difftable .CodeMirror-lines { padding: 0; } .difftable .CodeMirror pre { padding: 0; @@ -99,7 +101,7 @@ limitations under the License. .dark .noIntraline .a .intralineBg { background-color: #400; } .dark .noIntraline .b .intralineBg { background-color: #444; } - .patchSetNav { + .patchSetNav, .diff_header { background-color: #f7f7f7; line-height: 1; } @@ -164,12 +166,15 @@ limitations under the License. z-index: 2; cursor: text; } + .diff_header { - margin: 0 0 3px 0; font-size: 12px; font-weight: bold; color: #5252ad; } + .diff_header pre { + margin: 0 0 3px 0; + } @@ -182,10 +187,8 @@ limitations under the License. - - + +