From: Tom Hughes Date: Tue, 23 Apr 2024 16:20:08 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/4703' X-Git-Tag: live~132 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f99d7374a947befe58a943109b561061eb81067f?hp=20d05510cfaf44f5d4dc90d5b49c2cac7c23e074 Merge remote-tracking branch 'upstream/pull/4703' --- diff --git a/Gemfile b/Gemfile index 13daf8267..6ef2ca2fc 100644 --- a/Gemfile +++ b/Gemfile @@ -29,6 +29,7 @@ gem "bootsnap", ">= 1.4.2", :require => false # Use rtlcss for RTL conversion gem "rtlcss" +gem "mini_racer", "~> 0.9.0" # Use autoprefixer to generate CSS prefixes gem "autoprefixer-rails" diff --git a/Gemfile.lock b/Gemfile.lock index 2d790b5c6..e0373c38a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -95,8 +95,8 @@ GEM autoprefixer-rails (10.4.16.0) execjs (~> 2) aws-eventstream (1.3.0) - aws-partitions (1.913.0) - aws-sdk-core (3.191.6) + aws-partitions (1.917.0) + aws-sdk-core (3.192.1) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) @@ -104,8 +104,8 @@ GEM aws-sdk-kms (1.79.0) aws-sdk-core (~> 3, >= 3.191.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.146.1) - aws-sdk-core (~> 3, >= 3.191.0) + aws-sdk-s3 (1.147.0) + aws-sdk-core (~> 3, >= 3.192.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.8) aws-sigv4 (1.8.0) @@ -475,7 +475,7 @@ GEM rdoc (6.6.3.1) psych (>= 4.0.0) regexp_parser (2.9.0) - reline (0.5.1) + reline (0.5.3) io-console (~> 0.5) request_store (1.6.0) rack (>= 1.4) @@ -485,7 +485,7 @@ GEM rouge (4.2.1) rtlcss (0.2.1) mini_racer (>= 0.6.3) - rubocop (1.63.1) + rubocop (1.63.3) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -651,6 +651,7 @@ DEPENDENCIES logstasher marcel maxminddb + mini_racer (~> 0.9.0) minitest (~> 5.1) minitest-focus oauth-plugin (>= 0.5.1) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 1fe7ea53b..cf616983e 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -619,6 +619,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 %>
diff --git a/app/views/shared/_pagination.html.erb b/app/views/shared/_pagination.html.erb index 3a6000362..3dbce6f98 100644 --- a/app/views/shared/_pagination.html.erb +++ b/app/views/shared/_pagination.html.erb @@ -1,5 +1,5 @@