mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: removes rounding correction as it can be in either direction (#9538)
This commit is contained in:
parent
585e7bcfe8
commit
b871e79c5b
@ -858,8 +858,7 @@ export default Component.extend(
|
|||||||
this.element.classList.add("is-under");
|
this.element.classList.add("is-under");
|
||||||
}
|
}
|
||||||
|
|
||||||
// - 1 accounts for any rounding error
|
wrapper.style.width = `${this.element.offsetWidth}px`;
|
||||||
wrapper.style.width = `${this.element.offsetWidth - 1}px`;
|
|
||||||
wrapper.style.height = `${height}px`;
|
wrapper.style.height = `${height}px`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user