From: Laury GvR Date: Mon, 23 Jul 2018 18:43:26 +0000 (-0400) Subject: Fix for secondary dropdown getting too much left padding X-Git-Tag: v1.0.0^2~79 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b0ad1f950d7ab58c8973118bb05c225e76093ffb;p=WP-Themes%2Fvisitalpena2018.git Fix for secondary dropdown getting too much left padding --- diff --git a/scss/_topbar.scss b/scss/_topbar.scss index 34902f5..536ba16 100644 --- a/scss/_topbar.scss +++ b/scss/_topbar.scss @@ -39,6 +39,18 @@ line-height: 1; > ul { > li { + &.drop-left > { + ul.dropdown { + left: 100%; + right: 0%; + left: auto; + > li { + a { + text-align: left; + } + } + } + } &.two-columns > ul { -webkit-column-count: 2; -moz-column-count: 2; @@ -76,6 +88,7 @@ } ul { li { + left: auto; background-color: transparent; padding: 0 6px; &:not(.has-form):not(.active) { @@ -127,17 +140,6 @@ &.has-dropdown.not-click:hover > ul.dropdown { //width: 900px; } - &.drop-left { - ul.dropdown { - right: 0%; - left: auto; - li { - a { - text-align: left; - } - } - } - } } } }