I've upgraded my Polymer 3 Javascript app from Vaadin 14 components to Vaadin 24 components. The custom theme styling I was using to style vaadin-dialog-overlay does not work with v24, and the new v24 CSS selectors do not work for me either.
Here's and example of what was working with v14 components:
:host([theme="initialization"]) [part="content"] {
min-width: 30em;
padding: 24px;
align-items: center;
}
With v24, I've tried the following two styling selectors with no success:
vaadin-dialog-overlay::part(content)
vaadin-dialog-overlay::part(overlay)
I've tried putting them in a custom theme, in the component hosting vaadin-dialog, in frontend/themes/my-theme/styles.css, and in frontend/themes/my-theme/components/vaadin-dialog-overlay.css.
Here's an example of declaring vaadin-grid in HTML
Here's another example of what I need to get to work using a theme of "left":
vaadin-dialog-overlay::part(overlay) {
width: 45em;
position: absolute;
top: 0;
left: 0;
}
In the Chrome Inspector Styles section, I can manually enter the overlay part attributes I want and they get applied as expected, but in my code, I can't get anything to work.
How do you get styling of vaadin-dialog parts to work in v24 components?