mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: make sure the quote-reply button is never squished on mobile
This commit is contained in:
parent
5f620c5b98
commit
0b648f4b18
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ export default Discourse.Controller.extend({
|
|||
|
||||
if (Discourse.Mobile.isMobileDevice) {
|
||||
top = top + 20;
|
||||
left = left + 10;
|
||||
left = Math.min(left + 10, $(window).width() - $quoteButton.outerWidth());
|
||||
} else {
|
||||
top = top - $quoteButton.outerHeight() - 5;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue