Skip to content

Commit 5b6eed9

Browse files
committed
fix(react): match Lit Icon component font-size (24px)
web_core structural styles define .g-icon at 20px, but the Lit Icon component overrides this to 24px in its scoped styles. Add the same override in componentSpecificStyles to maintain visual parity.
1 parent b378bb7 commit 5b6eed9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

renderers/react/src/styles/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ export const componentSpecificStyles: string = `
124124
min-height: 0;
125125
overflow: auto;
126126
}
127+
:where(.a2ui-surface .a2ui-icon) .g-icon {
128+
font-size: 24px;
129+
}
127130
128131
.a2ui-surface .a2ui-tabs {
129132
display: block;

0 commit comments

Comments
 (0)