diff options
| author | mo khan <mo@mokhan.ca> | 2017-02-20 08:54:51 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2017-02-20 08:54:51 -0700 |
| commit | a5c7dfe3554b3ea980cd3bc6f6ee6c4b9bf2bbdd (patch) | |
| tree | 22c28e8793c0539bc375f42bbf38ea7becb0a870 | |
| parent | 925d301251a6fb84d1bc1c40147e320f6004f4ac (diff) | |
tidy up UI
| -rw-r--r-- | app/views/workouts/new.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/workouts/new.html.erb b/app/views/workouts/new.html.erb index 1887b76..dad9336 100644 --- a/app/views/workouts/new.html.erb +++ b/app/views/workouts/new.html.erb @@ -1,6 +1,6 @@ <div class="container"> <div class="columns"> - <div class="column is-8 is-offset-2 content"> + <div class="column is-6 is-offset-3 content"> <% @all_routines.each do |routine| %> <%= link_to "Switch to Routine #{routine.name}", new_workout_path(routine_id: routine.id), class: 'button is-link is-pulled-right' %> <% end %> @@ -37,7 +37,7 @@ </p> </div> <% end %> - <div class="column"> + <div class="column has-text-centered is-narrow"> <br /> <%= s.hidden_field :exercise_id %> <%= s.hidden_field :type %> @@ -47,7 +47,7 @@ <% end %> <% end %> <% end %> - <%= f.submit "Start", class: "button is-primary is-pulled-right", data: { disable_with: 'Saving' } %> + <%= f.submit "Start", class: "button is-primary is-fullwidth", data: { disable_with: 'Saving' } %> <% end %> </div> </div> |
