Closed xotea closed 2 years ago
Oh forgot about overflow
! Thanks for the contribution!! 💕🙌 I will check again later but I'll push this. Thank you so much for the kind words too and I'm so glad you're enjoying it!!
Hey @ceciliamay!
I see you reverted this PR in 4ee2aec2fcf647e6276209fb2d33fad208d42f5a.
If this was intentional, could you please tell me the the reason so I can see what I didn't think of and learn from it?
Thanks.
Oh shoot - this was definitely not intentional. I think I forgot to fetch the change to my local repo before pasting my recent updates from the dev vault🤦♀️. Could you write the changes again and "re-pull"?
Tip: Please remember to compile scss/index.scss
to obsidian.css
everytime you make changes before PR so that the updates will reflect into Obsidian.
If you have Sass already installed use sass --watch "scss/index.scss" "obsidian.css"
terminal command inside the repo directory! If you don't know how to use Sass let me know and I'll compile it after merging your PR 😄
If you know how to automate this please let me know because I'm still learning how to use GitHub lol
Yes of course.
Unfortunately, I'm not that experienced in CI/CD either to recommend you a way to best automate this. 🙁
📝 Description
When the callout only has a title the title component overflows because it's bottom border radii are 0.
You can fix this by setting
overflow: hidden
on the parent with.callout
but it removes part of the shadow.To avoid this I left the inset-shadow on the children and moved the other to the parent.
Hopefully it doesn't break anything else. I've just found this awesome theme and I haven't worked with Obsidian themes before.