Skip to content

Commit

Permalink
Improved the visual consistency of the select input core component. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
krewast committed May 30, 2023
1 parent 79645ce commit 132851f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion installer/templates/phx_web/components/core_components.ex
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 314,7 @@ defmodule <%= @web_namespace %>.CoreComponents do
<select
id={@id}
name={@name}
class="mt-1 block w-full rounded-md border border-gray-300 bg-white shadow-sm focus:border-zinc-400 focus:ring-0 sm:text-sm"
class="mt-2 block w-full rounded-md border border-gray-300 bg-white shadow-sm focus:border-zinc-400 focus:ring-0 sm:text-sm"
multiple={@multiple}
{@rest}
>
Expand Down
2 changes: 1 addition & 1 deletion priv/templates/phx.gen.live/core_components.ex
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 314,7 @@ defmodule <%= @web_namespace %>.CoreComponents do
<select
id={@id}
name={@name}
class="mt-1 block w-full rounded-md border border-gray-300 bg-white shadow-sm focus:border-zinc-400 focus:ring-0 sm:text-sm"
class="mt-2 block w-full rounded-md border border-gray-300 bg-white shadow-sm focus:border-zinc-400 focus:ring-0 sm:text-sm"
multiple={@multiple}
{@rest}
>
Expand Down

0 comments on commit 132851f

Please sign in to comment.