mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-30 04:48:34 +01:00
Compare commits
2 commits
d96c8baf8c
...
51b03d7bfc
Author | SHA1 | Date | |
---|---|---|---|
51b03d7bfc | |||
c1f085d26e |
1 changed files with 7 additions and 5 deletions
|
@ -38,11 +38,13 @@ 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;
|
||||||
display: none !important;
|
}
|
||||||
|
div[style*="min-width: 238px"] span[role*="heading"] {
|
||||||
|
display: none !important;
|
||||||
}`
|
}`
|
||||||
},
|
},
|
||||||
"keep": {
|
"keep": {
|
||||||
|
|
Loading…
Reference in a new issue