From ba8ba7c76944baf2bc6cefe16ee9735977cd3704 Mon Sep 17 00:00:00 2001 From: Joe Workman Date: Tue, 11 Apr 2017 17:34:21 -0700 Subject: [PATCH] Remove outside padding --- scss/components/_menu.scss | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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; + } +} -- 2.47.2