mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
e04bb611dc
* 🐛 Fix: Mermaid initialization conflict error * ✨ Feat: enhance Mermaid configuration with security level, look, and font family options
28 lines
495 B
SCSS
28 lines
495 B
SCSS
.mermaid {
|
|
position: relative;
|
|
overflow: hidden !important;
|
|
|
|
&[data-processed] {
|
|
text-align: center;
|
|
}
|
|
|
|
&:not([data-processed])::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
backdrop-filter: blur(0.5rem);
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-image: var(#{$rootPrefix}loading-img);
|
|
background-size: 60px;
|
|
}
|
|
|
|
svg {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
}
|