mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
FIX: Get correct right/left offset for topic progress bar on compose
This commit is contained in:
parent
16b41aa485
commit
7429512ced
@ -180,7 +180,7 @@ export default Component.extend({
|
||||
this.set("docked", isDocked);
|
||||
|
||||
const $replyArea = $("#reply-control .reply-area");
|
||||
if ($replyArea && $replyArea.length > 0 && wrapperDir === "left") {
|
||||
if ($replyArea && $replyArea.length > 0) {
|
||||
$wrapper.css(wrapperDir, `${$replyArea.offset().left}px`);
|
||||
} else {
|
||||
$wrapper.css(wrapperDir, "1em");
|
||||
|
Loading…
Reference in New Issue
Block a user