fix: Improve empty state for mermaid diagrams
This commit is contained in:
@@ -1089,6 +1089,7 @@ mark {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 1.6em;
|
||||
background: ${props.theme.codeBackground};
|
||||
border-radius: 6px;
|
||||
border: 1px solid ${props.theme.codeBorder};
|
||||
@@ -1100,6 +1101,11 @@ mark {
|
||||
font-family: ${props.theme.fontFamily};
|
||||
}
|
||||
|
||||
&.empty {
|
||||
font-size: 14px;
|
||||
color: ${props.theme.placeholder};
|
||||
}
|
||||
|
||||
&.parse-error {
|
||||
font-size: 14px;
|
||||
color: ${props.theme.brand.red};
|
||||
|
||||
Reference in New Issue
Block a user