From d33aaa0292ec33ffcb6c084d12869e67e98ce8d7 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 17 Feb 2020 10:39:20 +0100 Subject: [PATCH] FIX: sk body should follow wrapper width (#8984) --- app/assets/javascripts/select-kit/components/select-kit.js.es6 | 1 + 1 file changed, 1 insertion(+) 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`; } }