Skip to content

Commit

Permalink
style search bar desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
SourabhChakraborty committed Apr 5, 2023
1 parent 5f1b3e3 commit ceef805
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions wp-content/themes/workingnyc/views/partials/search-form.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<form class="o-search__form" action="/">
<form class="o-search__form w-full" style="max-width: var(--nyco-dimension-content-width)" action="/">
<label class="label pb-1">{{__('Search for work or services', 'WNYC')}}</label>
<div class="input o-search__input rounded">
<input class="rounded" data-js="search__input" tabindex="-1" inputmode="search" name="s" placeholder="Search" value="{{ s }}"></input>
<input class="rounded border-0" data-js="search__input" tabindex="-1" inputmode="search" name="s" placeholder="Search" value="{{ s }}"></input>
<button type="submit" tabindex="-1" class="o-search__submit">
<svg class="icon-ui">
<title>{{__('Submit', 'WNYC')}}</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<use href="#lucide-x"></use>
</svg>
</button>
<div class="py-2 tablet:py-8 desktop:px-6">
<div class="py-2 tablet:py-8 justify-center flex">
{% include 'partials/search-form.twig' %}
</div>
</div>

0 comments on commit ceef805

Please sign in to comment.