Styles from Claro admin theme are interfering with XB React app styles

Created on 23 June 2025, about 15 hours ago

Overview

Have Claro set as admin theme.
In /web/core/themes/claro/css/base/elements.css there is for example a style

p {
  margin: 1em 0;
}

In XB UI, <P> tags (rendered by Radix <Text /> component) now have margin top/bottom of 1em when they shouldn't.

(observed in Firefox but I think Chrome looks ok)

Proposed resolution

I believe this was introduced when the use of scopeCss was added.

User interface changes

🐛 Bug report
Status

Active

Version

0.0

Component

Semi-Coupled theme engine

Created by

🇬🇧United Kingdom jessebaker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024