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");
|
||||
}
|
||||
|
||||
// - 1 accounts for any rounding error
|
||||
wrapper.style.width = `${this.element.offsetWidth - 1}px`;
|
||||
wrapper.style.width = `${this.element.offsetWidth}px`;
|
||||
wrapper.style.height = `${height}px`;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue