Skip to content

Commit 59d9abf

Browse files
committed
Fix various minor annoyances
1 parent 97a9bef commit 59d9abf

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1489,6 +1489,13 @@
14891489
}
14901490
}
14911491
`;
1492+
} else {
1493+
HEADER_STYLE.textContent += `
1494+
${SELECTORS.header.localBar.underlineNavActions}
1495+
{
1496+
padding-right: var(--base-size-16, var(--base-size-16)) !important;
1497+
}
1498+
`;
14921499
}
14931500

14941501
if (elementConfig.boxShadow.consistentColor) {
@@ -1703,6 +1710,11 @@
17031710
{
17041711
display: none !important;
17051712
}
1713+
1714+
#repo-title-component:has(> img[alt$="avatar"]) .AppHeader-context-item-label .avatar-user
1715+
{
1716+
display: none !important;
1717+
}
17061718
`;
17071719

17081720
updateRepositoryHeaderName();
@@ -3362,6 +3374,11 @@
33623374
}
33633375
}
33643376
3377+
action-menu
3378+
{
3379+
align-content: center;
3380+
}
3381+
33653382
.AppHeader ${SELECTORS.header.globalBar} .AppHeader-search input[type=search],
33663383
.AppHeader ${SELECTORS.header.globalBar} .AppHeader-search .AppHeader-searchButton
33673384
{
@@ -3416,6 +3433,11 @@
34163433
{
34173434
bottom: calc(43% + var(--base-size-24)) !important;
34183435
}
3436+
3437+
${SELECTORS.header.leftAligned} > div:first-child
3438+
{
3439+
display: none !important;
3440+
}
34193441
`;
34203442

34213443
HEADER.querySelector(SELECTORS.header.globalBar)?.classList.remove('pb-2');

0 commit comments

Comments
 (0)