mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-26 19:18:34 +01:00
Compare commits
No commits in common. "51b03d7bfc4c9065f14ba98392a6da3b13cb0c22" and "d96c8baf8c58030c943066beea6ab14662f8ad91" have entirely different histories.
51b03d7bfc
...
d96c8baf8c
1 changed files with 5 additions and 7 deletions
|
@ -38,12 +38,10 @@ export const presets: Record<string, CustomFrameSettings> = {
|
|||
openInCenter: true,
|
||||
zoomLevel: 1,
|
||||
forceIframe: false,
|
||||
customCss: `/* hide the menu bar "Calendar" text and remove minimum width */
|
||||
div[style*="min-width: 238px"] {
|
||||
min-width: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
div[style*="min-width: 238px"] span[role*="heading"] {
|
||||
customCss: `/* hide the menu bar, "Keep" text, and logo */
|
||||
html > body > div:nth-child(2) > div:nth-child(2) > div:first-child[class*=" "],
|
||||
html > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child,
|
||||
html > body > div:nth-child(2) > div:nth-child(2) > div:first-child > div:first-child {
|
||||
display: none !important;
|
||||
}`
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue