Skip to content

Commit

Permalink
Prefer span over div within the summary tag
Browse files Browse the repository at this point in the history
This way the natively show as inline.
  • Loading branch information
elia committed Nov 7, 2023
1 parent 1677f24 commit 5b25f50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/app/components/solidus_admin/orders/show/component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ def format_address(address)
def panel_title_with_more_links(title, links)
tag.details(
tag.summary(
tag.div(
tag.span(
safe_join([
title,
component("ui/button").new(
icon: "more-line",
scheme: :ghost,
tag: :div,
tag: :span,
alt: t("spree.edit"),
class: "cursor-pointer"
).render_in(self),
Expand Down

0 comments on commit 5b25f50

Please sign in to comment.