]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Update _top-bar.scss 4946/head
authorclyates <chris@clyates.plus.com>
Thu, 10 Apr 2014 14:25:06 +0000 (15:25 +0100)
committerclyates <chris@clyates.plus.com>
Thu, 10 Apr 2014 14:25:06 +0000 (15:25 +0100)
commit02fb75c450f69a44c305aab3d8d165184494622e
tree291036f862962d34a8360f039388a7636ca45da0
parent24974d1692bd278e62dde09519b6387c0db769d6
Update _top-bar.scss

Fix to three issues:

Removing the background from .top-bar-section ul (line 286) prevents bleed through of dropdown background colour onto the top level if ul elements have had padding declared elsewhere

Adding padding: 0; to .dropdown (line 385) ensures that dropdown menus align the the top menu item and sit alongside each other whether or not ul elements have had padding declared elsewhere

Changes to line heights (lines 484, 491, and 549)  make top level links the same height as the Top Bar removing the "overhang" at the bottom, while keeping the line height for dropdown links
scss/foundation/components/_top-bar.scss