Skip to content

Commit

Permalink
Merge pull request #3730 from manyfold3d/fix-path-overflow
Browse files Browse the repository at this point in the history
Stop path overflowing sidebar
  • Loading branch information
Floppy authored Mar 5, 2025
2 parents 68e12b6 + 3e59384 commit 4b57b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/models/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@
<tr>
<td><%= icon "folder", t(".path") %></td>
<td>
<code><%= @model.path %></code>
<%= content_tag(:code, class: "path") { safe_join @model.path.split("/"), safe_join([tag.wbr, "/"]) } %>
<% unless @model.contains_other_models? %>
<%= button_tag(t(".organize.button_text"), class: "btn btn-warning btn-sm float-end", "data-bs-toggle": "modal", "data-bs-target": "#confirm-move") if @model.needs_organizing? && policy(@model).edit? %>
<div><%= button_tag(t(".organize.button_text"), class: "btn btn-warning btn-sm", "data-bs-toggle": "modal", "data-bs-target": "#confirm-move") if @model.needs_organizing? && policy(@model).edit? %></div>
<% end %>
</td>
</tr>
Expand Down

0 comments on commit 4b57b26

Please sign in to comment.