Compare commits

..

2 commits

Author SHA1 Message Date
Ell
51b03d7bfc also remove google calendar logo padding 2023-05-10 19:14:22 +02:00
Ell
c1f085d26e Improved default GCal css 2023-05-10 18:56:00 +02:00

View file

@ -38,10 +38,12 @@ export const presets: Record<string, CustomFrameSettings> = {
openInCenter: true, openInCenter: true,
zoomLevel: 1, zoomLevel: 1,
forceIframe: false, forceIframe: false,
customCss: `/* hide the menu bar, "Keep" text, and logo */ customCss: `/* hide the menu bar "Calendar" text and remove minimum width */
html > body > div:nth-child(2) > div:nth-child(2) > div:first-child[class*=" "], div[style*="min-width: 238px"] {
html > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child, min-width: 0 !important;
html > body > div:nth-child(2) > div:nth-child(2) > div:first-child > div:first-child { padding-right: 0 !important;
}
div[style*="min-width: 238px"] span[role*="heading"] {
display: none !important; display: none !important;
}` }`
}, },