From: Eugen Rochko Date: Sun, 16 Oct 2016 15:09:00 +0000 (+0200) Subject: Fix scrolling on small devices for account timelines and compose column X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=b8eda3026f2947fc7ac2c60df2878209e7327480;p=mastodon.git Fix scrolling on small devices for account timelines and compose column --- diff --git a/app/assets/javascripts/components/features/account/index.jsx b/app/assets/javascripts/components/features/account/index.jsx index cdda4ff2f..22e02ff54 100644 --- a/app/assets/javascripts/components/features/account/index.jsx +++ b/app/assets/javascripts/components/features/account/index.jsx @@ -74,13 +74,11 @@ const Account = React.createClass({ return ( -
-
+
- + - {this.props.children} -
+ {this.props.children}
); } diff --git a/app/assets/javascripts/components/features/ui/components/drawer.jsx b/app/assets/javascripts/components/features/ui/components/drawer.jsx index 8966602e2..d31d0e453 100644 --- a/app/assets/javascripts/components/features/ui/components/drawer.jsx +++ b/app/assets/javascripts/components/features/ui/components/drawer.jsx @@ -5,7 +5,8 @@ const style = { background: '#454b5e', padding: '0', display: 'flex', - flexDirection: 'column' + flexDirection: 'column', + overflowY: 'auto' }; const Drawer = React.createClass({