Skip to content

Commit

Permalink
Wrap text in unsaved changes button on small displays
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Nov 23, 2024
1 parent 30829e0 commit 227dd16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/profile/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<!-- ⭕ Unsaved changes warning/button -->
<div class="w-100 mb-3">
<%= f.submit t('profile.changes_made_btn'),
class: 'btn btn-warning mt-3 w-100 d-none',
class: 'btn btn-warning mt-3 w-100 d-none text-wrap',
id: "profileChange" %>
</div>

Expand Down Expand Up @@ -109,7 +109,7 @@
<!-- Here at the bottom only for small displays -->
<div class="w-100 mt-3 mb-3 d-md-none">
<%= f.submit t('profile.changes_made_btn'),
class: 'btn btn-warning w-100 d-none',
class: 'btn btn-warning w-100 d-none text-wrap',
id: "profileChangeBottom" %>
</div>

Expand Down

0 comments on commit 227dd16

Please sign in to comment.