However, when adding a slotted form the slotted toolbar element might not be the first child anymore, which means the first child slotted into the toolbar also gets the margin applied:
Result:
Expected outcome
The first slotted toolbar element should not have a left margin.
Description
vaadin-crud
is intended to apply a left margin to all elements slotted into the toolbar, that are not the first child: https://github.com/vaadin/web-components/blob/7cc31ea392c44e0a6f904241c15aea601d26940f/packages/crud/theme/lumo/vaadin-crud-styles.js#L74-L76However, when adding a slotted form the slotted toolbar element might not be the first child anymore, which means the first child slotted into the toolbar also gets the margin applied:
Result:
Expected outcome
The first slotted toolbar element should not have a left margin.
Minimal reproducible example
Steps to reproduce
Environment
Vaadin version(s): 24, 23
Browsers
Issue is not browser related