Improve preset styling for Google Keeps

This commit is contained in:
Afdzal Yunus 2023-09-09 10:24:49 +08:00 committed by GitHub
parent bd10df45ee
commit aff14357cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -56,9 +56,11 @@ div[style*="min-width: 238px"] span[role*="heading"] {
openInCenter: false, openInCenter: false,
zoomLevel: 1, zoomLevel: 1,
forceIframe: false, forceIframe: false,
customCss: `/* hide the menu bar and the "Keep" text */ customCss: `/* hide the menu bar, the "Keep" text and the Google Apps button */
html > body > div:nth-child(2) > div:nth-child(2) > div:first-child, html > body > div:nth-child(2) > div:nth-child(2) > div:first-child,
html > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child > a:first-child > span { html > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child > a:first-child > span,
html > body > div:first-child > header:first-child > div:nth-child(2) > div:first-child > div:first-child,
html > body > div:first-child > header:first-child > div:nth-child(2) > div:nth-child(3) > div:first-child > div:first-child > div:first-child {
display: none !important; display: none !important;
}` }`
}, },

View file

@ -20,7 +20,7 @@
"openInCenter": false, "openInCenter": false,
"zoomLevel": 1, "zoomLevel": 1,
"forceIframe": false, "forceIframe": false,
"customCss": "/* hide the menu bar and the \"Keep\" text */\nhtml > body > div:nth-child(2) > div:nth-child(2) > div:first-child, \nhtml > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child > a:first-child > span { \n\tdisplay: none !important; \n}" "customCss": "/* hide the menu bar, the \"Keep\" text and the Google Apps button */\nhtml > body > div:nth-child(2) > div:nth-child(2) > div:first-child, \nhtml > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child > a:first-child > span, \nhtml > body > div:first-child > header:first-child > div:nth-child(2) > div:first-child > div:first-child, \nhtml > body > div:first-child > header:first-child > div:nth-child(2) > div:nth-child(3) > div:first-child > div:first-child > div:first-child { \n\tdisplay: none !important; \n}"
}, },
{ {
"url": "https://calendar.google.com/calendar", "url": "https://calendar.google.com/calendar",