vaadin / vaadin-context-menu

The responsive Web Component for showing context dependent items for any element on the page. Part of the Vaadin components.
https://vaadin.com/components
Apache License 2.0
26 stars 10 forks source link

fix: ensure list-box items CSS specificity in Safari #224

Closed web-padawan closed 5 years ago

web-padawan commented 5 years ago

Fixes #222

Looks like the :host(.vaadin-menu-list-box) does not affect CSS selector specificity in Safari:

screen shot 2019-02-21 at 14 47 38

Fixed by moving the corresponding style block below. Could be related to class selectors only.


This change is Reviewable

web-padawan commented 5 years ago

@jouni can you try if this branch solves the issue for you too?