Nicer buttons on small screens
This commit is contained in:
parent
b9ec363f36
commit
5751c0338a
@ -1,6 +1,6 @@
|
||||
@layer components {
|
||||
.btn {
|
||||
@apply font-semibold rounded-md leading-none cursor-pointer
|
||||
@apply font-semibold rounded-md leading-none cursor-pointer text-center
|
||||
transition-colors duration-75 focus:outline-none focus:ring-4;
|
||||
}
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
by invitation. Seems like you have good friends!
|
||||
</p>
|
||||
<p class="mt-12">
|
||||
<%= link_to "Get started", signup_steps_path(1), class: "btn btn-md btn-blue" %>
|
||||
<%= link_to "Get started", signup_steps_path(1),
|
||||
class: "btn-md btn-blue block w-full md:inline-block md:w-auto" %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
@ -1,8 +1,8 @@
|
||||
<%= render HeaderCompactComponent.new(title: "Signup") %>
|
||||
|
||||
<%= render MainCompactComponent.new do %>
|
||||
<% case @step %>
|
||||
<% when 1 %>
|
||||
<% case @step
|
||||
when 1 %>
|
||||
<h2>Choose a username</h2>
|
||||
<%= form_for @user, :url => signup_validate_url do |f| %>
|
||||
<p>
|
||||
@ -16,7 +16,8 @@
|
||||
<p class="error-msg">Username <%= @validation_error %></p>
|
||||
<% end %>
|
||||
<p class="mt-12">
|
||||
<%= f.submit "Continue", class: 'btn btn-md btn-blue' %>
|
||||
<%= f.submit "Continue",
|
||||
class: "btn-md btn-blue block w-full md:inline-block md:w-auto" %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
@ -32,7 +33,8 @@
|
||||
<p class="error-msg">Email <%= @validation_error %></p>
|
||||
<% end %>
|
||||
<p class="mt-12">
|
||||
<%= f.submit "Continue", class: 'btn btn-md btn-blue' %>
|
||||
<%= f.submit "Continue",
|
||||
class: "btn-md btn-blue block w-full md:inline-block md:w-auto" %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
@ -53,7 +55,8 @@
|
||||
and Privacy Policy. Don't worry, they will be excellent!
|
||||
</p>
|
||||
<p class="mt-8">
|
||||
<%= f.submit "Create account", class: 'btn-md btn-blue' %>
|
||||
<%= f.submit "Create account",
|
||||
class: "btn-md btn-blue block w-full md:inline-block md:w-auto" %>
|
||||
</p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user