]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
fix: fix Dropdown Menu top level item properties #11412 11433/head
authorNicolas Coden <nicolas@ncoden.fr>
Thu, 2 Aug 2018 22:34:27 +0000 (00:34 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Thu, 2 Aug 2018 22:34:27 +0000 (00:34 +0200)
commit6a0e3240be3b69fd549a74b30cf37a178f56df87
treed1e880d564140a427016b39e5f743fd9605483e4
parent281681a305931a350d59a8476f538416bddf9788
fix: fix Dropdown Menu top level item properties #11412

Changes:
- Only apply top-level styles to top-level items. This increase specificity but this markup structure is alreaddy assumed elsewhere in the component.
- Remove the default `$white` background on top-level items: it was never applied before #11377 and could now cause visual changes.

Closes https://github.com/zurb/foundation-sites/issues/11412
scss/components/_dropdown-menu.scss