File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ defmodule PetalComponents.Dropdown do
34
34
@ doc """
35
35
<.dropdown label="Dropdown" js_lib="alpine_js|live_view_js">
36
36
<.dropdown_menu_item link_type="button">
37
- <Heroicons. home class="w-5 h-5 text-gray-500" />
37
+ <.icon name="hero- home" class="w-5 h-5 text-gray-500" />
38
38
Button item with icon
39
39
</.dropdown_menu_item>
40
40
<.dropdown_menu_item link_type="a" to="/" label="a item" />
@@ -65,15 +65,15 @@ defmodule PetalComponents.Dropdown do
65
65
66
66
<%= if @ label do %>
67
67
<%= @ label %>
68
- < . icon name = "hero-chevron-down-solid " class = "pc-dropdown__chevron " />
68
+ < . icon name = "hero-chevron-down-solid " class = "h-5 w-5 pc-dropdown__chevron " />
69
69
<% end %>
70
70
71
71
<%= if @ trigger_element do %>
72
72
<%= render_slot ( @ trigger_element ) %>
73
73
<% end %>
74
74
75
75
<%= if ! @ label && @ trigger_element == [ ] do %>
76
- < . icon name = "hero-ellipsis-vertical-solid " class = "pc -dropdown__ellipsis " />
76
+ < . icon name = "hero-ellipsis-vertical-solid " class = "h-5 w-5pc -dropdown__ellipsis " />
77
77
<% end %>
78
78
</ button >
79
79
</ div >
You can’t perform that action at this time.
0 commit comments