Skip to content

Commit 57e2a8d

Browse files
committed
Fix org link stretching in mobile navbar
Add max-w-fit to prevent the org button from expanding to fill the available flex space between hamburger and search icons.
1 parent 5a94e8d commit 57e2a8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/shared/_navbar.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</label>
88

99
<% if Current.organization && !current_page?(organization_path(Current.organization)) %>
10-
<%= link_to organization_path(Current.organization), class: "btn btn-ghost gap-1 min-w-0" do %>
10+
<%= link_to organization_path(Current.organization), class: "btn btn-ghost gap-1 min-w-0 max-w-fit" do %>
1111
<%= inline_svg_tag "svg/chevron-left.svg", class: "size-4 shrink-0", aria: { hidden: true } %>
1212
<%= organization_avatar(Current.organization, classes: "size-6") %>
1313

0 commit comments

Comments
 (0)