From: Tom Hughes Date: Sat, 14 Sep 2024 09:55:50 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/5211' X-Git-Tag: live~144 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/25dbc4d43e41d30f764d1545548de3b95a307d61?hp=70f1b327b483a39fc866c48cd44d5c999a262f59 Merge remote-tracking branch 'upstream/pull/5211' --- diff --git a/app/helpers/browse_helper.rb b/app/helpers/browse_helper.rb index 0ea10e219..5aef4e7ca 100644 --- a/app/helpers/browse_helper.rb +++ b/app/helpers/browse_helper.rb @@ -86,7 +86,7 @@ module BrowseHelper max_width_for_default_padding = 35 width = 0 - pagination_items(pages, {}).each do |body| + pagination_items(pages, {}).each do |(body)| width += 2 # padding width width += body.length end