Skip to content

Commit d7e757b

Browse files
authored
fix: avoid using global color for head slot and xml (#5342)
Fixes https://discord.com/channels/955905230107738152/1398319996832059574/1398319996832059574 Here explicitly specified black color for text in xml and head slot. This prevents white color on root to override text.
1 parent 9409657 commit d7e757b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/sdk-components-react/src/xml-node.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export const XmlNode = forwardRef<ElementRef<"div">, Props>(
8888
style={{
8989
display: isTextChild ? "inline" : "block",
9090
marginLeft: isTextChild ? 0 : "1rem",
91+
color: "#000000",
9192
}}
9293
>
9394
{children}

0 commit comments

Comments
 (0)