Tweak spacing.
This commit is contained in:
parent
62ade8de28
commit
8cdcfac87d
|
@ -24,7 +24,7 @@ const addScrollHints = () => {
|
|||
const breadcrumbs = Array.from(getChangeHeader().getElementsByTagName('h4'))[0]
|
||||
console.log({ breadcrumbs })
|
||||
if (index > 0) {
|
||||
breadcrumbs.prepend(buildHint(fileElements[index - 1], 'Prev:', '2.1em'))
|
||||
breadcrumbs.prepend(buildHint(fileElements[index - 1], 'Prev:', '1.4em'))
|
||||
}
|
||||
if (index < fileElements.length - 1) {
|
||||
breadcrumbs.appendChild(buildHint(fileElements[index + 1], 'Next:'))
|
||||
|
@ -53,12 +53,12 @@ addFix(() => {
|
|||
styled || addStyle(`
|
||||
.sages-extra-breadcrumbs {
|
||||
color: rgba(0, 0, 0, 0) !important;
|
||||
margin-top: -2em !important;
|
||||
margin-top: -1.6em !important;
|
||||
/*margin-bottom: -1em !important;*/
|
||||
float: left !important;
|
||||
position: absolute;
|
||||
font-size: 11px;
|
||||
margin-left: 35%;
|
||||
margin-left: 20%;
|
||||
}
|
||||
.diff-meta:hover h4 .sages-extra-breadcrumbs {
|
||||
color: rgba(0, 0, 0, 0.35) !important;
|
||||
|
|
Loading…
Reference in New Issue