Linting
This commit is contained in:
@@ -52,9 +52,8 @@ export default {
|
|||||||
elementWithoutOverflow.innerText = this.description;
|
elementWithoutOverflow.innerText = this.description;
|
||||||
|
|
||||||
document.body.appendChild(elementWithoutOverflow);
|
document.body.appendChild(elementWithoutOverflow);
|
||||||
const elemWithoutOverflowHeight = elementWithoutOverflow.getBoundingClientRect()[
|
const elemWithoutOverflowHeight =
|
||||||
"height"
|
elementWithoutOverflow.getBoundingClientRect()["height"];
|
||||||
];
|
|
||||||
|
|
||||||
this.overflow = elemWithoutOverflowHeight > height;
|
this.overflow = elemWithoutOverflowHeight > height;
|
||||||
this.removeElements(document.querySelectorAll(".dummy-non-overflow"));
|
this.removeElements(document.querySelectorAll(".dummy-non-overflow"));
|
||||||
|
|||||||
Reference in New Issue
Block a user