Skip to content

Commit

Permalink
Improve rendering of vaadin-item inside the slotted value [skip ci]
Browse files Browse the repository at this point in the history
Without this rule, a contained vaadin-item shrinks a nested iron-icon, for example.

This also fixes a flexbox issue in IE11 (as vaadin-item is a flex container with a min-height).
  • Loading branch information
jouni committed Feb 18, 2018
1 parent e9bfbd8 commit 15fa8df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions theme/lumo/vaadin-dropdown-menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
cursor: default;
}

[part="input-field"] ::slotted([part="value"]) {
display: flex;
}

/* ShadyCSS limitation workaround */
[part="input-field"] ::slotted([part="value"]) [selected]::before {
display: none;
Expand Down

0 comments on commit 15fa8df

Please sign in to comment.