Skip to content

Commit 105432c

Browse files
committed
Update text input styling
1 parent f17fa2b commit 105432c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/plexus_web/components/core_components.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ defmodule PlexusWeb.CoreComponents do
314314
name={@name}
315315
value="true"
316316
checked={@checked}
317-
class="rounded border-zinc-300 text-zinc-900 focus:ring-0"
317+
class="rounded-sm border-zinc-300 text-zinc-900 focus:ring-0"
318318
{@rest}
319319
/>
320320
{@label}
@@ -331,7 +331,7 @@ defmodule PlexusWeb.CoreComponents do
331331
<select
332332
id={@id}
333333
name={@name}
334-
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"
334+
class="mt-2 block w-full rounded-md border border-gray-300 bg-white shadow-xs focus:border-zinc-400 focus:ring-0 sm:text-sm"
335335
multiple={@multiple}
336336
{@rest}
337337
>
@@ -352,7 +352,7 @@ defmodule PlexusWeb.CoreComponents do
352352
name={@name}
353353
class={[
354354
"mt-2 block w-full rounded-lg text-zinc-900 focus:ring-0 sm:text-sm sm:leading-6",
355-
"text-zinc-900 focus:border-zinc-400 focus:outline-none focus:ring-4 focus:ring-zinc-800/5 sm:text-sm sm:leading-6",
355+
"text-zinc-900 focus:border-zinc-400 focus:outline-hidden focus:ring-4 focus:ring-zinc-800/5 sm:text-sm sm:leading-6",
356356
"min-h-[6rem] phx-no-feedback:border-zinc-300 phx-no-feedback:focus:border-zinc-400",
357357
@errors == [] && "border-zinc-300 focus:border-zinc-400",
358358
@errors != [] && "border-rose-400 focus:border-rose-400"
@@ -375,7 +375,7 @@ defmodule PlexusWeb.CoreComponents do
375375
id={@id}
376376
value={Phoenix.HTML.Form.normalize_value(@type, @value)}
377377
class={[
378-
"mt-2 block w-full rounded-lg text-zinc-900 focus:ring-0 sm:text-sm sm:leading-6",
378+
"border-2 mt-2 p-1 block w-full rounded-md text-zinc-900 focus:ring-0 sm:text-sm sm:leading-6",
379379
"phx-no-feedback:border-zinc-300 phx-no-feedback:focus:border-zinc-400",
380380
@errors == [] && "border-zinc-300 focus:border-zinc-400",
381381
@errors != [] && "border-rose-400 focus:border-rose-400"

lib/plexus_web/live/app_live/index.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
if(@page == 1, do: "pt-10", else: "pt-[calc(200vh)]")
2727
]}
2828
>
29-
<li :for={{id, app} <- @streams.apps} id={id} class="col-span-1 shadow-sm rounded-md">
29+
<li :for={{id, app} <- @streams.apps} id={id} class="col-span-1 shadow-xs rounded-md">
3030
<.card app={app} navigate={~p"/"} />
3131
</li>
3232
</ul>

0 commit comments

Comments
 (0)