Skip to content

Commit

Permalink
Fixed image selection border from ring to outline (ring does not work…
Browse files Browse the repository at this point in the history
… on prod)
  • Loading branch information
mellelieuwes committed Nov 29, 2023
1 parent 3d1098a commit 8bc361d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/frameworks/pixel/components/image.ex
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ defmodule Frameworks.Pixel.Image do
~H"""
<div
id={"clickable-area-#{@index}"}
class={"relative bg-grey5 h-full ring-4 hover:ring-primary hover:border-0 cursor-pointer rounded overflow-hidden #{if @selected do "ring-primary" else "ring-white border-grey5 border-2" end}"}
class={"relative bg-grey5 h-full outline outline-4 hover:outline-primary cursor-pointer rounded overflow-hidden #{if @selected do "outline-primary" else "outline-grey5" end}"}
phx-click="select_image"
phx-value-image={@id}
phx-target={@target}
Expand Down

0 comments on commit 8bc361d

Please sign in to comment.