From: Joe Workman Date: Wed, 12 Apr 2017 00:34:21 +0000 (-0700) Subject: Remove outside padding X-Git-Tag: v2.3.0~7^2~34^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F751%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-emails.git Remove outside padding --- diff --git a/scss/components/_menu.scss b/scss/components/_menu.scss index ff4f9121..883b2598 100644 --- a/scss/components/_menu.scss +++ b/scss/components/_menu.scss @@ -64,4 +64,20 @@ table.menu.text-center a { //Centers the menus! .menu[align="center"] { width: auto !important; -} \ No newline at end of file +} + +// Remove outside padding so that the menu aligns with other elements on the page +.menu:not(.float-center) { + .menu-item:first-child{padding-left:0!important;} + .menu-item:last-child{padding-right:0!important;} +} +.menu.vertical .menu-item { + padding-left:0!important; + padding-right:0!important; +} +@media only screen and (max-width: #{$global-breakpoint}) { + .menu.small-vertical .menu-item { + padding-left:0!important; + padding-right:0!important; + } +}