Skip to content

Commit

Permalink
pkp/pkp-lib#4684 Fix search form class and mobile nav padding
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr authored and ajnyga committed Nov 17, 2019
1 parent 756b863 commit b36efec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion plugins/themes/default/styles/body.less
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ a {
position: relative;
width: 100%;
margin: 0 auto;
padding-left: @base;
padding-right: @base;

@media( min-width: @screen-tablet ) {
Expand Down
2 changes: 1 addition & 1 deletion templates/frontend/components/searchForm_simple.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{if !$currentJournal || $currentJournal->getData('publishingMode') != $smarty.const.PUBLISHING_MODE_NONE}
{capture name="searchFormUrl"}{url page="search" op="search" escape=false}{/capture}
{$smarty.capture.searchFormUrl|parse_url:$smarty.const.PHP_URL_QUERY|parse_str:$formUrlParameters}
<form class="pkp_search" {$className|escape} action="{$smarty.capture.searchFormUrl|strtok:"?"|escape}" method="get" role="search" aria-label="{translate|escape key="submission.search"}">
<form class="pkp_search {$className|escape}" action="{$smarty.capture.searchFormUrl|strtok:"?"|escape}" method="get" role="search" aria-label="{translate|escape key="submission.search"}">
{csrf}
{foreach from=$formUrlParameters key=paramKey item=paramValue}
<input type="hidden" name="{$paramKey|escape}" value="{$paramValue|escape}"/>
Expand Down

0 comments on commit b36efec

Please sign in to comment.