From: Tom Hughes Date: Sun, 21 Apr 2024 18:05:42 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/4713' X-Git-Tag: live~1140 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a32aa188c2099a4369705154d2aec5254ed07877?hp=29bd8c54efc18a087ae0cb6506a4428767af742b Merge remote-tracking branch 'upstream/pull/4713' --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 549226f58..61c825fca 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -616,6 +616,8 @@ tr.turn { .browse-tag-list { table-layout: fixed; white-space: pre-wrap; + word-wrap: break-word; + word-break: break-word; tr:last-child th, tr:last-child td { border-bottom: 0; diff --git a/app/views/browse/_tag_details.html.erb b/app/views/browse/_tag_details.html.erb index 2b4ec1bb0..cb876198c 100644 --- a/app/views/browse/_tag_details.html.erb +++ b/app/views/browse/_tag_details.html.erb @@ -1,7 +1,7 @@ <% unless tag_details.empty? %>

<%= t ".tags" %>

- +
<%= render :partial => "browse/tag", :collection => tag_details.sort %>