Skip to content

Commit 2f78713

Browse files
committed
Restore proper button size
Combination of .row and Bootstrap's flex styles make the buttons too wide.
1 parent 2bc93a1 commit 2f78713

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

app/views/staff/speakers/edit.html.haml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
placeholder: "Bio for the event program", rows: 7, maxlength: 500
2121
%p.help-block Bio is limited to 500 characters.
2222

23-
.row.col-md-12.form-submit.btn-toolbar
24-
%button.float-end.btn.btn-success{:type => "submit"} Save
25-
= link_to("Cancel", event_staff_program_speaker_path(current_event, @speaker), class: "button float-end btn btn-danger")
23+
.row.col-md-12.form-submit
24+
.btn-toolbar
25+
%button.float-end.btn.btn-success{:type => "submit"} Save
26+
= link_to("Cancel", event_staff_program_speaker_path(current_event, @speaker), class: "button float-end btn btn-danger")
2627

app/views/staff/speakers/new.html.haml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
placeholder: "Bio for the event program", rows: 7, maxlength: 500
2424
%p.help-block Bio is limited to 500 characters.
2525

26-
.row.col-md-12.form-submit.btn-toolbar
27-
%button.float-end.btn.btn-success{:type => "submit"} Save
28-
= link_to("Cancel", event_staff_program_session_path(current_event, @program_session), class: "button float-end btn btn-danger")
26+
.row.col-md-12.form-submit
27+
.btn-toolbar
28+
%button.float-end.btn.btn-success{:type => "submit"} Save
29+
= link_to("Cancel", event_staff_program_session_path(current_event, @program_session), class: "button float-end btn btn-danger")

0 commit comments

Comments
 (0)