From 4562f8d62cbaf677f398b335a3f267abffaf83b4 Mon Sep 17 00:00:00 2001 From: Mathias Polligkeit <13847569+woylie@users.noreply.github.com> Date: Tue, 5 Dec 2023 23:38:20 +0900 Subject: [PATCH] Revert "add wrapper around icon svg" This reverts commit 84dd33921d78385b415f20ad8b93a80ddab51d9f. --- lib/doggo.ex | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/doggo.ex b/lib/doggo.ex index 093b1bed..3e6e88d5 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,9 +582,7 @@ defmodule Doggo do aria-label={if @label && @label_placement == :hidden, do: @label} {@rest} > - - - + <%= @label %> """