From ff0e0df7c62a425470a27032f1d32aff97aca519 Mon Sep 17 00:00:00 2001 From: Cyrille Perois Date: Thu, 16 Jan 2020 13:49:51 +0100 Subject: [PATCH] fix(Modal): Use overflow auto The modal wrapper was using `overflow-y: scroll`. The problem is that the `scroll` value makes scrollbar appear even if it's disabled. Using the `auto` value fixes it. --- stylus/components/modals.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylus/components/modals.styl b/stylus/components/modals.styl index ad3fd02b43..25d94d62b0 100644 --- a/stylus/components/modals.styl +++ b/stylus/components/modals.styl @@ -49,7 +49,7 @@ $modal-wrapper box-sizing border-box width 100vw height 100% - overflow-y scroll + overflow-y auto padding large-margin +small-screen()