Skip to content

Commit

Permalink
Remove nowrap style as it's not working
Browse files Browse the repository at this point in the history
It breaks in portrait mode on phones and it only really helps in
a small range of window sizes so it's just not worth it.
  • Loading branch information
pixeltrix committed Jun 21, 2017
1 parent da8fe51 commit 28ba0ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app/views/archived/petitions/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<div class="notification">
<span class="icon icon-warning-white"></span>
<p class="content">
These petitions were submitted during the <%= @parliament.period %>
<span style="white-space: nowrap"><%= @parliament.government %></span> government
These petitions were submitted during the <%= @parliament.period %> <%= @parliament.government %> government
</p>

<details class="list-of-parliaments">
Expand Down
3 changes: 1 addition & 2 deletions app/views/archived/petitions/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<div class="notification">
<span class="icon icon-warning-white"></span>
<p class="content">
This petition was submitted during the <%= @parliament.period %>
<span style="white-space: nowrap"><%= @parliament.government %></span> government
This petition was submitted during the <%= @parliament.period %> <%= @parliament.government %> government
</p>

<p class="link">
Expand Down

0 comments on commit 28ba0ad

Please sign in to comment.