diff --git a/src/js/components/Navigation/HeaderNotificationMenu.jsx b/src/js/components/Navigation/HeaderNotificationMenu.jsx index 6898c3e9f..3b7c5262a 100644 --- a/src/js/components/Navigation/HeaderNotificationMenu.jsx +++ b/src/js/components/Navigation/HeaderNotificationMenu.jsx @@ -278,7 +278,8 @@ class HeaderNotificationMenu extends Component { id="headerNotificationMenuIcon" onClick={this.handleClick} size="large" - sx={isTablet() ? { marginTop: '5px', marginRight: '12px' } : {}} + // 'sx' refactored in the 'iconButtonRoot' and 'iconButtonRootSelected' classes below. + // sx={isTablet() ? { marginTop: '5px', marginRight: '12px' } : {}} > {allActivityNoticesNotSeenCount ? ( ({ paddingRight: 0, paddingBottom: '9px !important', paddingLeft: 6, + [theme.breakpoints.down('sm')]: { + marginTop: '5px !important', + }, + [theme.breakpoints.between('sm', 'md')]: { + marginTop: '4px !important', + marginRight: '12px', + }, + [theme.breakpoints.up('md')]: { + marginTop: '3px !important', + }, '&:hover': { backgroundColor: 'transparent', }, @@ -355,6 +366,16 @@ const styles = (theme) => ({ paddingRight: 0, paddingBottom: '9px !important', paddingLeft: 6, + [theme.breakpoints.down('sm')]: { + marginTop: '5px !important', + }, + [theme.breakpoints.between('sm', 'md')]: { + marginTop: '4px !important', + marginRight: '12px', + }, + [theme.breakpoints.up('md')]: { + marginTop: '3px !important', + }, '&:hover': { backgroundColor: 'transparent', },