Skip to content

Commit c5ba3e3

Browse files
committed
fix notification #17
1 parent 004ecd8 commit c5ba3e3

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "GitHub Center",
55
"author": "Katsute",
66
"description": "Center navigation on large viewports",
7-
"version": "2.0",
7+
"version": "2.1",
88
"homepage_url": "https://github.com/KatsuteDev/GitHub-Center",
99
"icons": {
1010
"16": "icon16.png",

src/style.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
body:not(.project-page) .application-main:not(:has(> div > projects-v2, > div > .feed-background)),
55
#repository-container-header,
66
#js-repo-pjax-container:not(:has(> projects-v2)),
7-
body:not(.project-page) #repo-content-turbo-frame > div {
7+
body:not(.project-page) #repo-content-turbo-frame > div,
8+
#notification-shelf > div {
89

910
width: 100%;
1011
max-width: 1280px;
@@ -15,7 +16,8 @@ body:not(.project-page) #repo-content-turbo-frame > div {
1516

1617
#repository-container-header > div,
1718
#repo-content-pjax-container > div,
18-
body:not(.project-page) #repo-content-turbo-frame > div:not(#repo-content-pjax-container) {
19+
body:not(.project-page) #repo-content-turbo-frame > div:not(#repo-content-pjax-container),
20+
#notification-shelf > div {
1921

2022
padding-left: 16px !important;
2123
padding-right: 16px !important;

test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const selectors = [
1414
// `body:not(.project-page) #repo-content-turbo-frame > div:not(#repo-content-pjax-container)`, // uses turbo test case
1515

1616
// `#repository-container-header > div:last-child > div:last-child` // requires login
17+
// `#notification-shelf > div` // requires notification
1718
];
1819

1920
(async () => {

0 commit comments

Comments
 (0)