openstreetmap-website/app/views/users/blocked.html.erb
Andy Allan 2a885c2cce Ensure the heading text appears above the illustration
The easiest way to do this is to make the text a child of the div
with the background image. The change to min-size is so that if
the text wraps often enough on narrow screens, the header expands
vertically rather than the text spilling over.

Fixes #3259
2021-07-21 15:08:33 +01:00

12 lines
421 B
Text

<% content_for :heading_class, "pb-0" %>
<% content_for :heading do %>
<div class='header-illustration new-user-main'>
<h1><%= t "users.new.title" %></h1>
</div>
<div class='header-illustration new-user-arm'></div>
<% end %>
<div class="message">
<h1><%= t "users.new.no_auto_account_create" %></h1>
<h2><%= t "users.new.contact_support_html", :support => "mailto:#{Settings.support_email}" %></h2>
</div>