Make scrollbars and margin indicators in diff view wider
The scroll bar margin in diff view are currently a bit too narrow, making it hard to grab the scrollbar and read the margin indicators. Change-Id: Ibcb2231aba9858342551f49242ad261f43f37d5e
This commit is contained in:
committed by
David Pursehouse
parent
ba69835964
commit
87a576ac84
@@ -18,6 +18,8 @@
|
|||||||
@external .CodeMirror-linenumber;
|
@external .CodeMirror-linenumber;
|
||||||
@external .CodeMirror-overlayscroll-horizontal;
|
@external .CodeMirror-overlayscroll-horizontal;
|
||||||
@external .CodeMirror-overlayscroll-vertical;
|
@external .CodeMirror-overlayscroll-vertical;
|
||||||
|
@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;
|
||||||
@@ -38,7 +40,20 @@
|
|||||||
.CodeMirror-overlayscroll-vertical div {
|
.CodeMirror-overlayscroll-vertical div {
|
||||||
min-height: 25px;
|
min-height: 25px;
|
||||||
}
|
}
|
||||||
|
/* Ensure the scrollbars are not too narrow */
|
||||||
|
.CodeMirror-overlayscroll-horizontal {
|
||||||
|
min-height: 12px;
|
||||||
|
}
|
||||||
|
.CodeMirror-overlayscroll-vertical {
|
||||||
|
min-width: 12px;
|
||||||
|
}
|
||||||
|
.CodeMirror-scrollbar-filler {
|
||||||
|
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. */
|
/* 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