Fix answerbox text layout on mobile

This commit is contained in:
Andreas Nedbal 2020-05-07 03:46:44 +02:00
parent 7c8809ce14
commit 787ec882c4
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@
}
&__action {
padding-left: map-get($spacers, 1);
padding-left: 0;
padding-right: map-get($spacers, 1);
& i {

View File

@ -15,7 +15,7 @@
= markdown a.content
- if @user.nil?
.row
.col-4.col-sm-4.col-md-6.text-left.text-muted
.col.col-sm-4.col-md-6.text-left.text-muted
.media
.pull-left
%a{href: show_user_profile_path(a.user.screen_name)}
@ -25,7 +25,7 @@
= raw t('views.answerbox.answered', hide: hidespan(t('views.answerbox.hide'), "d-none d-sm-inline"), user: user_screen_name(a.user))
.answerbox__answer-date
= link_to(raw(t('views.answerbox.time', time: time_tooltip(a))), show_user_answer_path(a.user.screen_name, a.id))
.col-8.col-sm-8.col-md-6.text-right
.col.col-sm-8.col-md-6.text-right
= render 'answerbox/actions', a: a
- else
.row