]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changesets/show.html.erb
Merge remote-tracking branch 'upstream/pull/4917'
[rails.git] / app / views / changesets / show.html.erb
index 1d37e302a9004d8a6587506bab29531b8dd0eaf6..915b0ef352531c5bbbb749e27fb5299f597df6e4 100644 (file)
@@ -3,7 +3,7 @@
 <%= render "sidebar_header", :title => t(".title", :id => @changeset.id) %>
 
 <div class="browse-section">
-  <p class="fst-italic">
+  <p class="fs-6 overflow-x-auto">
     <%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %>
   </p>
   <p class="details"><%= changeset_details(@changeset) %></p>
     <% if current_user %>
       <div class="col-auto">
         <% if @changeset.subscribers.exists?(current_user.id) %>
-          <%= tag.button t("javascripts.changesets.show.unsubscribe"),
+          <%= tag.button t(".unsubscribe"),
                          :class => "btn btn-sm btn-primary",
                          :name => "unsubscribe",
                          :data => { :method => "POST",
                                     :url => api_changeset_unsubscribe_url(@changeset) } %>
         <% else %>
-          <%= tag.button t("javascripts.changesets.show.subscribe"),
+          <%= tag.button t(".subscribe"),
                          :class => "btn btn-sm btn-primary",
                          :name => "subscribe",
                          :data => { :method => "POST",