Make search smaller on desktop, full width on mobile
This commit is contained in:
@@ -192,7 +192,7 @@ defmodule MusicLibraryWeb.RecordComponents do
|
||||
|
||||
def search_form(assigns) do
|
||||
~H"""
|
||||
<form class="w-2/3" for={@query} phx-submit="search" phx-change="search">
|
||||
<form class="w-full sm:w-1/3" for={@query} phx-submit="search" phx-change="search">
|
||||
<.input
|
||||
type="search"
|
||||
id={:query}
|
||||
|
||||
Reference in New Issue
Block a user