Skip to content

Commit

Permalink
Reduce the size of the panels title
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Jan 15, 2024
1 parent 3bf12d0 commit 6e370b7
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 @@ -24,7 +24,7 @@
<% if @title %>
<%= render_section do %>
<h2>
<span class="font-semibold text-xl"><%= @title %></span>
<span class="font-semibold text-base"><%= @title %></span>
<%= render component("ui/toggletip").new(text: @title_hint) if @title_hint %>
</h2>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion admin/app/components/solidus_admin/ui/panel/component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def render_section(wide: false, high: false, **args, &block)
tag.section(**args, class: "
border-gray-100 border-t w-full first-of-type:border-t-0
#{'px-6' unless wide}
#{'py-6' unless high}
#{'py-4' unless high}
#{args[:class]}
", &block)
end
Expand Down

0 comments on commit 6e370b7

Please sign in to comment.