hiding smiled-text on mobile devices
This commit is contained in:
parent
5829046402
commit
f5231ec304
|
@ -11,13 +11,13 @@
|
||||||
%p= a.content
|
%p= a.content
|
||||||
- if @user.nil?
|
- if @user.nil?
|
||||||
.row
|
.row
|
||||||
.col-md-6.col-sm-4.col-xs-12.text-left.text-muted
|
.col-md-6.col-sm-4.col-xs-8.text-left.text-muted
|
||||||
Answered by
|
Answered by
|
||||||
%a{href: show_user_profile_path(a.user.screen_name)}
|
%a{href: show_user_profile_path(a.user.screen_name)}
|
||||||
%img.img-rounded.img-answerbox-small{src: gravatar_url(a.user)}
|
%img.img-rounded.img-answerbox-small{src: gravatar_url(a.user)}
|
||||||
%span= a.user.screen_name
|
%span= a.user.screen_name
|
||||||
.col-md-6.col-sm-8.col-xs-12.text-right
|
.col-md-6.col-sm-8.col-xs-4.text-right
|
||||||
%span.text-muted x users smiled at this
|
%span.hidden-xs.text-muted x users smiled at this
|
||||||
%a.btn.btn-info.btn-sm
|
%a.btn.btn-info.btn-sm
|
||||||
%i.fa.fa-smile-o
|
%i.fa.fa-smile-o
|
||||||
%a.btn.btn-primary.btn-sm
|
%a.btn.btn-primary.btn-sm
|
||||||
|
@ -27,8 +27,8 @@
|
||||||
%i.fa.fa-trash-o
|
%i.fa.fa-trash-o
|
||||||
- else
|
- else
|
||||||
.row
|
.row
|
||||||
.col-md-6.col-md-offset-6.col-sm-8.col-sm-offset-4.col-xs-12.text-right
|
.col-md-6.col-md-offset-6.col-sm-8.col-sm-offset-4.col-xs-4.text-right
|
||||||
%span.text-muted x users smiled at this
|
%span.hidden-xs.text-muted x users smiled at this
|
||||||
%a.btn.btn-info.btn-sm
|
%a.btn.btn-info.btn-sm
|
||||||
%i.fa.fa-smile-o
|
%i.fa.fa-smile-o
|
||||||
%a.btn.btn-primary.btn-sm
|
%a.btn.btn-primary.btn-sm
|
||||||
|
|
Loading…
Reference in New Issue