mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-02-06 04:08:26 -06:00
Update dashboard aside item styling: improve hover effects by adding group and group-hover classes to button elements
This commit is contained in:
@@ -115,12 +115,11 @@ func dashboardAsideItem(
|
||||
) gomponents.Node {
|
||||
return html.A(
|
||||
alpine.XData(fmt.Sprintf("dashboardAsideItem('%s', %t)", link, strict)),
|
||||
|
||||
html.Class("block flex flex-col items-center justify-center"),
|
||||
html.Class("block flex flex-col items-center justify-center group"),
|
||||
html.Href(link),
|
||||
html.Button(
|
||||
alpine.XBind("class", `{'btn-active': is_active}`),
|
||||
html.Class("btn btn-ghost btn-neutral btn-square"),
|
||||
html.Class("btn btn-ghost btn-neutral btn-square group-hover:btn-active"),
|
||||
icon(html.Class("size-6")),
|
||||
),
|
||||
html.Span(
|
||||
|
||||
Reference in New Issue
Block a user