forked from CityOfNewYork/working-nyc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
search results page styling for desktop
- Loading branch information
1 parent
f8e6796
commit 3365176
Showing
4 changed files
with
33 additions
and
37 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...yc/assets/styles/site-default-e8cf86e.css → ...yc/assets/styles/site-default-c7233cf.css
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 1 addition & 9 deletions
10
wp-content/themes/workingnyc/views/partials/search-form.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
<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 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> | ||
<use href="#lucide-search"></use> | ||
</svg> | ||
</button> | ||
</div> | ||
{% include 'partials/search-input.twig' %} | ||
</form> |
9 changes: 9 additions & 0 deletions
9
wp-content/themes/workingnyc/views/partials/search-input.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="input o-search__input rounded" style="max-width: var(--nyco-dimension-content-width)"> | ||
<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> | ||
<use href="#lucide-search"></use> | ||
</svg> | ||
</button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters