Closed SofienM closed 1 year ago
The overflow: scroll property was initially added to the SimpleLayout component to handle the case when its height exceeds 100vh. This commit changes it to auto so that the scrollbar appears only when needed.
overflow: scroll
SimpleLayout
auto
Before: Useless scrolls:
Only Y scroll useful:
Now
@SofienM Can you fix the linting errors and we'll merge it!
@sampaccoud Didn't see the failing checks, it's fixed now !
Purpose
The
overflow: scroll
property was initially added to theSimpleLayout
component to handle the case when its height exceeds 100vh. This commit changes it toauto
so that the scrollbar appears only when needed.Before: Useless scrolls:
Only Y scroll useful:
Now