Skip to content

A platform for community discussion. Free, open, simple.

FIX: sk body should follow wrapper width (#8984)

Joffrey JAFFEUXd33aaa0292ec
diff --git a/app/assets/javascripts/select-kit/components/select-kit.js.es6 b/app/assets/javascripts/select-kit/components/select-kit.js.es6
index 9eaa205aed8..0714c5682e1 100644
--- a/app/assets/javascripts/select-kit/components/select-kit.js.es6
+++ b/app/assets/javascripts/select-kit/components/select-kit.js.es6
@@ -851,6 +851,7 @@ export default Component.extend(
}
wrapper.style.width = `${this.element.offsetWidth}px`;
+ body.style.width = `${this.element.offsetWidth}px`;
wrapper.style.height = `${height}px`;
}
}