Skip to content

Commit

Permalink
filter styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Jan 7, 2025
1 parent 749065f commit 844ae59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions web/assets/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@ select {
box-shadow: 0 0 0 1px var(--color-border);
}

input[type=search] {
border-radius: 1em;
}

select {
appearance: none;
font-weight: 700;
Expand Down
4 changes: 2 additions & 2 deletions web/views/filtering.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="filter">
<form method="get" class="form-inline" action='<%= root_path %><%= which %>'>
<form role="search" method="get" class="form-inline" action='<%= root_path %><%= which %>'>
<label for="substr"><%= t('Filter') %></label>
<input class="search form-control" type="search" name="substr" value="<%= h url_params("substr") %>" placeholder="<%= t('AnyJobContent') %>"/>
<input class="form-control" type="search" name="substr" value="<%= h url_params("substr") %>" placeholder="<%= t('AnyJobContent') %>"/>
</form>
</div>

0 comments on commit 844ae59

Please sign in to comment.