Fix text alignment classes
This commit is contained in:
parent
6643c65e23
commit
23c01a97be
|
@ -17,7 +17,7 @@
|
|||
= f.datetime_field :ends_at,
|
||||
data: { target: "#announcement_ends_at", "date-format": "YYYY-MM-DD hh:mm A" }
|
||||
.row
|
||||
.col-md-12.text-right
|
||||
.col-md-12.text-end
|
||||
= f.submit class: "btn btn-primary"
|
||||
|
||||
- provide(:title, generate_title(t(".title")))
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
= f.datetime_field :ends_at,
|
||||
data: { target: "#announcement_ends_at", "date-format": "YYYY-MM-DD hh:mm A" }
|
||||
.row
|
||||
.col-md-12.text-right
|
||||
.col-md-12.text-end
|
||||
= f.submit class: "btn btn-primary"
|
||||
|
||||
- provide(:title, generate_title(t(".title")))
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
= markdown a.content
|
||||
- if @user.nil?
|
||||
.row
|
||||
.col-sm-6.text-left.text-muted
|
||||
.col-sm-6.text-start.text-muted
|
||||
.media
|
||||
.pull-left
|
||||
%a{ href: user_path(a.user) }
|
||||
|
@ -29,7 +29,7 @@
|
|||
= render "answerbox/actions", a: a, display_all: display_all
|
||||
- else
|
||||
.row
|
||||
.col-md-6.text-left.text-muted
|
||||
.col-md-6.text-start.text-muted
|
||||
%i.fa.fa-clock-o
|
||||
= link_to(raw(t("time.distance_ago", time: time_tooltip(a))), answer_path(a.user.screen_name, a.id), class: "answerbox__permalink")
|
||||
.col-md-6.d-md-flex.answerbox__actions
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
.modal-body
|
||||
.form-group.has-feedback
|
||||
%textarea.form-control{ name: "qb-all-question", placeholder: t(".placeholder"), data: { "character-count-target": "input" } }
|
||||
%p.text-right.text-muted.form-control-feedback{ data: { "character-count-target": "counter" } } 512
|
||||
%p.text-end.text-muted.form-control-feedback{ data: { "character-count-target": "counter" } } 512
|
||||
.modal-footer
|
||||
%button.btn.btn-default{ type: :button, data: { dismiss: :modal } }= t("voc.cancel")
|
||||
%button.btn.btn-primary{ name: "qb-all-ask", type: :button, data: { "character-count-target": "action", loading_text: t(".loading") } }= t(".action")
|
||||
|
|
|
@ -21,12 +21,12 @@
|
|||
- next if reason.strip.blank?
|
||||
= reason.strip
|
||||
.row
|
||||
.col-md-8.col-sm-8.col-xs-8.text-left
|
||||
.col-md-8.col-sm-8.col-xs-8.text-start
|
||||
%a.btn.btn-primary{ href: content_url(report) }
|
||||
= t(".view", content: report.type.sub("Reports::", ""))
|
||||
- if report.target.respond_to?(:user) && report.target.user
|
||||
%a.btn.btn-primary{ href: user_path(report.target.user) }
|
||||
= t(".view", content: t("activerecord.models.user.one"))
|
||||
.col-md-4.col-sm-4.col-xs-4.text-right
|
||||
.col-md-4.col-sm-4.col-xs-4.text-end
|
||||
%button.btn.btn-default.btn-sm{ type: :button, name: "mod-delete-report", data: { id: report.id } }
|
||||
%i.fa.fa-trash-o
|
||||
|
|
Loading…
Reference in New Issue