Skip to content

Commit

Permalink
Merge pull request #4223 from Almee98/WV-701
Browse files Browse the repository at this point in the history
WV-701 Aligned notification icon and profile avatar icon.
  • Loading branch information
DaleMcGrew authored Jan 22, 2025
2 parents 6210567 + 5ad089b commit e67429a
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion src/js/components/Navigation/HeaderNotificationMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? (
<Badge
Expand Down Expand Up @@ -343,6 +344,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',
},
Expand All @@ -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',
},
Expand Down

0 comments on commit e67429a

Please sign in to comment.