From db7c7d1af154a17808f3379a357c511b669be51c Mon Sep 17 00:00:00 2001 From: Jessica Stokes Date: Tue, 11 Apr 2017 00:27:30 +1000 Subject: Improve scrolling behaviour (#1415) * Replace column margin with padding This improves horizontal scrolling behaviour significantly; scrolled flex elements are... a little weird. * Move clear column button styling to css --- .../notifications/components/clear_column_button.jsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'app/assets/javascripts') diff --git a/app/assets/javascripts/components/features/notifications/components/clear_column_button.jsx b/app/assets/javascripts/components/features/notifications/components/clear_column_button.jsx index 71877fb2b..debbfd01f 100644 --- a/app/assets/javascripts/components/features/notifications/components/clear_column_button.jsx +++ b/app/assets/javascripts/components/features/notifications/components/clear_column_button.jsx @@ -4,16 +4,6 @@ const messages = defineMessages({ clear: { id: 'notifications.clear', defaultMessage: 'Clear notifications' } }); -const iconStyle = { - fontSize: '16px', - padding: '15px', - position: 'absolute', - right: '48px', - top: '0', - cursor: 'pointer', - zIndex: '2' -}; - const ClearColumnButton = React.createClass({ propTypes: { @@ -25,7 +15,7 @@ const ClearColumnButton = React.createClass({ const { intl } = this.props; return ( -
+
); -- cgit