fix replay btn position on mobile and desktop

This commit is contained in:
giorgia 2017-02-10 17:10:24 +01:00
parent 94e1105af7
commit 8c6d0ecd64
3 changed files with 12 additions and 1 deletions

View File

@ -200,7 +200,9 @@
replyToPost=(action "replyToPost") replyToPost=(action "replyToPost")
}} }}
{{else}} {{else}}
{{d-button icon="reply" class="btn-primary" action="showLogin" label="topic.reply.title"}} <div id="topic-footer-button">
{{d-button icon="reply" class="btn-primary pull-right" action="showLogin" label="topic.reply.title"}}
</div>
{{/if}} {{/if}}
{{/if}} {{/if}}

View File

@ -442,6 +442,10 @@ a.star {
} }
} }
#topic-footer-button {
width: 757px;
}
#suggested-topics { #suggested-topics {
clear: left; clear: left;
padding: 20px 0 15px 0; padding: 20px 0 15px 0;

View File

@ -330,6 +330,11 @@ a.star {
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
} }
#topic-footer-button {
width: 100px;
margin: 0 auto;
}
#suggested-topics { #suggested-topics {
clear: left; clear: left;
padding: 20px 0 15px 0; padding: 20px 0 15px 0;