From daddfcaed9e6aee6340f8f6e169463f176e3eb5b Mon Sep 17 00:00:00 2001 From: meriadec Date: Mon, 2 Jul 2018 10:00:15 +0200 Subject: [PATCH] Fix GrowScroll style (fixes onboarding step 1 centering) --- src/components/base/GrowScroll/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/base/GrowScroll/index.js b/src/components/base/GrowScroll/index.js index 4abf5370..6a320289 100644 --- a/src/components/base/GrowScroll/index.js +++ b/src/components/base/GrowScroll/index.js @@ -52,6 +52,8 @@ class GrowScroll extends PureComponent { overflowY: 'scroll', marginRight: `-${80 + scrollbarWidth}px`, paddingRight: `80px`, + display: 'flex', + flexDirection: 'column', ...(maxHeight ? { maxHeight, @@ -68,7 +70,7 @@ class GrowScroll extends PureComponent { return (
- + {children}