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