Fix scrollbar width for deletion and insertion sections

This will ensure that the width of the markers are correct
on both inserts, deletions and edits.

Change-Id: I1ad8c43273ecdf6f9b536e45224ee1a8e4cb4a24
This commit is contained in:
Gustaf Lundh
2015-11-11 12:03:05 -08:00
committed by David Pursehouse
parent d2286d8c76
commit f80280ab7c
2 changed files with 4 additions and 6 deletions

View File

@@ -27,12 +27,14 @@
.delete {
background-color: #faa;
min-width: 12px;
}
.insert {
background-color: #9f9;
min-width: 12px;
}
.edit {
border-left: 3px solid #faa;
width: 2px !important;
border-left: 6px solid #faa;
width: 6px !important;
background-color: #9f9;
}

View File

@@ -19,7 +19,6 @@
@external .CodeMirror-overlayscroll-horizontal;
@external .CodeMirror-overlayscroll-vertical;
@external .CodeMirror-scrollbar-filler;
@external .com-google-gerrit-client-diff-Scrollbar-Style-insert;
@external .cm-tab;
@external .cm-searching;
@external .cm-trailingspace;
@@ -51,9 +50,6 @@
min-height: 12px;
min-width: 12px;
}
.com-google-gerrit-client-diff-Scrollbar-Style-insert {
min-width: 12px;
}
/* Stack the scrollbar so annotations can receive clicks. */
.CodeMirror-overlayscroll-vertical {
z-index: inherit;