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:
committed by
David Pursehouse
parent
d2286d8c76
commit
f80280ab7c
@@ -27,12 +27,14 @@
|
|||||||
|
|
||||||
.delete {
|
.delete {
|
||||||
background-color: #faa;
|
background-color: #faa;
|
||||||
|
min-width: 12px;
|
||||||
}
|
}
|
||||||
.insert {
|
.insert {
|
||||||
background-color: #9f9;
|
background-color: #9f9;
|
||||||
|
min-width: 12px;
|
||||||
}
|
}
|
||||||
.edit {
|
.edit {
|
||||||
border-left: 3px solid #faa;
|
border-left: 6px solid #faa;
|
||||||
width: 2px !important;
|
width: 6px !important;
|
||||||
background-color: #9f9;
|
background-color: #9f9;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
@external .CodeMirror-overlayscroll-horizontal;
|
@external .CodeMirror-overlayscroll-horizontal;
|
||||||
@external .CodeMirror-overlayscroll-vertical;
|
@external .CodeMirror-overlayscroll-vertical;
|
||||||
@external .CodeMirror-scrollbar-filler;
|
@external .CodeMirror-scrollbar-filler;
|
||||||
@external .com-google-gerrit-client-diff-Scrollbar-Style-insert;
|
|
||||||
@external .cm-tab;
|
@external .cm-tab;
|
||||||
@external .cm-searching;
|
@external .cm-searching;
|
||||||
@external .cm-trailingspace;
|
@external .cm-trailingspace;
|
||||||
@@ -51,9 +50,6 @@
|
|||||||
min-height: 12px;
|
min-height: 12px;
|
||||||
min-width: 12px;
|
min-width: 12px;
|
||||||
}
|
}
|
||||||
.com-google-gerrit-client-diff-Scrollbar-Style-insert {
|
|
||||||
min-width: 12px;
|
|
||||||
}
|
|
||||||
/* Stack the scrollbar so annotations can receive clicks. */
|
/* Stack the scrollbar so annotations can receive clicks. */
|
||||||
.CodeMirror-overlayscroll-vertical {
|
.CodeMirror-overlayscroll-vertical {
|
||||||
z-index: inherit;
|
z-index: inherit;
|
||||||
|
|||||||
Reference in New Issue
Block a user