minor style fixes
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
<form action="<%= request.path %>" method="get" class="items-center hidden md:flex">
|
||||
<% if params[:q].present? %>
|
||||
<a href="<%= request.path %>" title="Clear" class="text-xl -mr-3.5 z-10">
|
||||
×
|
||||
</a>
|
||||
<% end %>
|
||||
<input id="search" name="q" value="<%= params[:q] %>" class="input input-ghost text-lg pr-10 -mr-12">
|
||||
<div class="relative">
|
||||
<% if params[:q].present? %>
|
||||
<a href="<%= request.path %>" title="Clear" class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-auto text-neutral text-2xl font-extralight">
|
||||
×
|
||||
</a>
|
||||
<% end %>
|
||||
</div>
|
||||
<input id="search" name="q" value="<%= params[:q] %>" class="input input-ghost text-lg pr-10 -mr-12 <%= 'pl-8 input-bordered' if params[:q].present? %>">
|
||||
<button type="submit" title="Search" class="btn btn-ghost btn-circle" onclick="window.search.value || document.activeElement === window.search ? null : [event.preventDefault(), window.search.focus()]">
|
||||
<span class="enabled">
|
||||
<%= svg_icon('search', class: 'w-6 h-6 stroke-2') %>
|
||||
|
||||
Reference in New Issue
Block a user