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
12 lines
421 B
Text
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>
|