Skip to content

Commit

Permalink
This should be applied to the a link, not to the div
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Sep 1, 2023
1 parent 3a4a7fd commit 8a13f03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ fun FlowContent.fanArtArtist(
div {
a(classes = "entry", href = "/${i18nContext.websiteLocaleIdPath}/artists/${artist.slug}") {
attributes["hx-target"] = "#content"
attributes["power-close-sidebar"] = "true"

val url = FanArtUtils.getArtistAvatarUrl(dssBaseUrl, namespace, artist, 32)

Expand All @@ -30,7 +31,6 @@ fun FlowContent.fanArtArtist(

div {
style = "display: flex; flex-direction: column;"
attributes["power-close-sidebar"] = "true"

div {
text(artist.name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class FanArtsView(
}

fanArtCardGrid(m, i18nContext, dssBaseUrl, this@FanArtsView.namespace, fanArts)

div {
style = "text-align: center;"

Expand Down

0 comments on commit 8a13f03

Please sign in to comment.