diff --git a/themes/foundation5/css/default.css b/themes/foundation5/css/default.css index 159b7a27ced256272cb418a1830a1800e97b2a4c..81281f7c24157a95294b118b9dd4c9993b210f08 100644 --- a/themes/foundation5/css/default.css +++ b/themes/foundation5/css/default.css @@ -467,6 +467,9 @@ ul.date-range-slider { #searchForm .columns { padding: 0; } + #searchForm .columns .button, #searchForm .columns button { + padding: 0; + } } @media only screen and (min-width: 45rem) { diff --git a/themes/foundation5/js/foundation.min.js b/themes/foundation5/js/foundation.min.js index e893d901e939c7be2f119cdecb79567cbc86ebaa..e491e10007085fa7e2c9a2fe3f95844c9c6ad9be 100644 --- a/themes/foundation5/js/foundation.min.js +++ b/themes/foundation5/js/foundation.min.js @@ -5117,7 +5117,7 @@ if (!$dropdown.find('.title.back').length) { if (settings.mobile_show_parent_link == true && url) { - $titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link hide-for-large-up"><a class="parent-link js-generated" href="' + url + '">' + $link.html() +'</a></li>'); + $titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link hide-for-medium-up"><a class="parent-link js-generated" href="' + url + '">' + $link.html() +'</a></li>'); } else { $titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5>'); } diff --git a/themes/foundation5/js/foundation/foundation.topbar.js b/themes/foundation5/js/foundation/foundation.topbar.js index 30e581dcbe9d65b075fd717e770a19f86f692024..f09dea61f97a8b8cba75bbea7df03054770e94d1 100644 --- a/themes/foundation5/js/foundation/foundation.topbar.js +++ b/themes/foundation5/js/foundation/foundation.topbar.js @@ -372,7 +372,7 @@ if (!$dropdown.find('.title.back').length) { if (settings.mobile_show_parent_link == true && url) { - $titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link hide-for-large-up"><a class="parent-link js-generated" href="' + url + '">' + $link.html() +'</a></li>'); + $titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link hide-for-medium-up"><a class="parent-link js-generated" href="' + url + '">' + $link.html() +'</a></li>'); } else { $titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5>'); } diff --git a/themes/foundation5/scss/default.scss b/themes/foundation5/scss/default.scss index 72703ca6ead1502e744e766060ab6c0c25a44d47..bb342ff8cc350852032ba4b1abc9dcd24c597082 100644 --- a/themes/foundation5/scss/default.scss +++ b/themes/foundation5/scss/default.scss @@ -441,6 +441,10 @@ ul.date-range-slider { .columns { @media only screen and (min-width: 20em) { padding: 0; + + .button, button { + padding: 0; + } } @media only screen and (min-width: 45rem) { @include pad-l-r;