From 84dd33921d78385b415f20ad8b93a80ddab51d9f Mon Sep 17 00:00:00 2001 From: Mathias Polligkeit Date: Tue, 5 Dec 2023 23:16:12 +0900 Subject: [PATCH] add wrapper around icon svg --- lib/doggo.ex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/doggo.ex b/lib/doggo.ex index 3e6e88d5..093b1bed 100644 --- a/lib/doggo.ex +++ b/lib/doggo.ex @@ -515,7 +515,7 @@ defmodule Doggo do aria-label={if @label && @label_placement == :hidden, do: @label} {@rest} > - <%= render_slot(@inner_block) %> + <%= render_slot(@inner_block) %> <%= @label %> """ @@ -582,7 +582,9 @@ defmodule Doggo do aria-label={if @label && @label_placement == :hidden, do: @label} {@rest} > - + + + <%= @label %> """