Skip to content

Commit 28ba0ad

Browse files
committed
Remove nowrap style as it's not working
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.
1 parent da8fe51 commit 28ba0ad

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

app/views/archived/petitions/index.html.erb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<div class="notification">
22
<span class="icon icon-warning-white"></span>
33
<p class="content">
4-
These petitions were submitted during the <%= @parliament.period %>
5-
<span style="white-space: nowrap"><%= @parliament.government %></span> government
4+
These petitions were submitted during the <%= @parliament.period %> <%= @parliament.government %> government
65
</p>
76

87
<details class="list-of-parliaments">

app/views/archived/petitions/show.html.erb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<div class="notification">
22
<span class="icon icon-warning-white"></span>
33
<p class="content">
4-
This petition was submitted during the <%= @parliament.period %>
5-
<span style="white-space: nowrap"><%= @parliament.government %></span> government
4+
This petition was submitted during the <%= @parliament.period %> <%= @parliament.government %> government
65
</p>
76

87
<p class="link">

0 commit comments

Comments
 (0)