Spaces:
Paused
Paused
File size: 1,379 Bytes
4e7644b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | .mermaidDiagram {
position: relative;
width: 100%;
overflow: auto;
background: radial-gradient(
circle at 50% 0%,
rgba(243, 107, 33, 0.14),
transparent 50%
),
#fffaf6;
}
.isLoading {
min-height: 176px;
}
.placeholder {
display: flex;
align-items: center;
justify-content: center;
min-height: 176px;
color: #999;
font-size: 14px;
}
.content {
min-width: max-content;
padding: 24px;
display: flex;
justify-content: center;
svg {
max-width: 100%;
height: auto;
}
}
.mermaidError {
display: flex;
align-items: flex-start;
min-height: 110px;
gap: 12px;
padding: 24px;
margin: 0;
overflow: auto;
color: #8a342f;
background: #fff8f6;
div {
display: grid;
min-width: 0;
gap: 4px;
}
strong {
font-size: 13px;
}
span {
overflow-wrap: anywhere;
color: rgba(138, 52, 47, 0.74);
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
monospace;
font-size: 12px;
}
}
:global(.dark-mode) .mermaidDiagram {
background: radial-gradient(
circle at 50% 0%,
rgba(243, 107, 33, 0.18),
transparent 52%
),
#17120f;
}
:global(.dark-mode) .mermaidError {
color: #f6aaa2;
background: #261918;
span {
color: rgba(246, 170, 162, 0.74);
}
}
@media (max-width: 600px) {
.content {
padding: 18px;
}
}
|