Description
splitlayout with small theme cause all nested components to be rendered as small in aura theme
Expected outcome
Nested component rendered with standard size
Minimal reproducible example
add(new TextField("Normal"));
TextField small = new TextField("Small");
small.addThemeVariants(TextFieldVariant.SMALL);
add(small);
TextField nestedSmall = new TextField("Small");
nestedSmall.addThemeVariants(TextFieldVariant.SMALL);
SplitLayout l = new SplitLayout(new TextField("Expected normal"), nestedSmall);
l.setThemeVariants(SplitLayoutVariant.SMALL);
add(l);
We workaround it with
vaadin-split-layout[theme~=small]{
--aura-base-font-size: 12;
--aura-base-size: 16;
}
Steps to reproduce
Open the view
Environment
Vaadin version(s): 25.1.1
Browsers
No response
Description
splitlayout with small theme cause all nested components to be rendered as small in aura theme
Expected outcome
Nested component rendered with standard size
Minimal reproducible example
We workaround it with
Steps to reproduce
Open the view
Environment
Vaadin version(s): 25.1.1
Browsers
No response