fix(ui): use a grid icon for Customize Dashboard
The settings icon is a circle with radiating spokes, which reads as a sun/light-mode toggle rather than a dashboard control. Swap it for the grid icon, the standard dashboard-layout affordance.
This commit is contained in:
@@ -47,7 +47,7 @@ templ DashboardActions() {
|
|||||||
class="icon-btn"
|
class="icon-btn"
|
||||||
title="Customize Dashboard"
|
title="Customize Dashboard"
|
||||||
>
|
>
|
||||||
@Icon("settings", "h-5 w-5")
|
@Icon("grid", "h-5 w-5")
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
data-action="reload-page"
|
data-action="reload-page"
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ func DashboardActions() templ.Component {
|
|||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
templ_7745c5c3_Err = Icon("settings", "h-5 w-5").Render(ctx, templ_7745c5c3_Buffer)
|
templ_7745c5c3_Err = Icon("grid", "h-5 w-5").Render(ctx, templ_7745c5c3_Buffer)
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user