Skip to content

Commit 2172956

Browse files
committed
Fix repo header padding
1 parent 1813f61 commit 2172956

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/github-custom-global-navigation.user.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1913,7 +1913,8 @@
19131913

19141914
insertNewGlobalBar(topRepositoryHeaderElement);
19151915

1916-
clonedRepositoryHeader.firstElementChild.classList.remove('container-xl', 'px-lg-5');
1916+
clonedRepositoryHeader.firstElementChild.classList.remove('container-xl', 'px-lg-5', 'px-3');
1917+
topRepositoryHeaderElement.style.setProperty('padding', '0 var(--base-size-16, var(--base-size-16))', 'important');
19171918

19181919
NEW_ELEMENTS.push(clonedRepositoryHeader);
19191920
}

0 commit comments

Comments
 (0)