Skip to content

Commit 0f4a1cb

Browse files
fix: set xml node background to white
1 parent 06b39a5 commit 0f4a1cb

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

packages/sdk-components-react/src/head-slot.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export const HeadSlot = forwardRef<
2626
<div
2727
ref={ref}
2828
style={{
29-
backgroundColor: "rgba(255,255,255,1)",
3029
padding: "8px",
3130
position: "fixed",
3231
top: 0,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const XmlNode = forwardRef<ElementRef<"div">, Props>(
7171
};
7272

7373
return (
74-
<div {...props}>
74+
<div {...props} style={{ backgroundColor: "rgba(255,255,255,1)" }}>
7575
<span>
7676
<span style={{ color: "#800000" }}>&lt;{elementName}</span>
7777
{attributeEntries.length > 0 && renderAttributes(attributeEntries)}

0 commit comments

Comments
 (0)