Skip to content

Commit

Permalink
Removed more styles from main.css. Moved some .svg icons to img/globa…
Browse files Browse the repository at this point in the history
…l/svg-icons. Updated ChallengeInviteFriendsTopNavigation to match how we layout other functional components. (Iteration)
  • Loading branch information
DaleMcGrew committed Jan 5, 2025
1 parent 0e3434b commit 4927152
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,18 +184,6 @@ const styles = () => ({
},
});

const ToolbarStyled = styled(Toolbar)(() => ({
alignItems: 'center',
display: 'flex',
minHeight: 48,
position: 'relative',
width: '100%',
}));

const TabsStyled = styled(Tabs)({
flexGrow: 1,
});

const MoreInfoIconWrapper = styled('div', {
shouldForwardProp: (prop) => !['hovered', 'isSmallScreen'].includes(prop),
})(({ hovered, isSmallScreen }) => ({
Expand All @@ -214,6 +202,10 @@ const MoreInfoText = styled('span')({
marginLeft: 4,
});

const TabsStyled = styled(Tabs)({
flexGrow: 1,
});

const TabStyled = styled(Tab)(() => ({
marginRight: 16,
minWidth: 'auto',
Expand All @@ -227,4 +219,12 @@ const TabStyled = styled(Tab)(() => ({
},
}));

const ToolbarStyled = styled(Toolbar)(() => ({
alignItems: 'center',
display: 'flex',
minHeight: 48,
position: 'relative',
width: '100%',
}));

export default withStyles(styles)(ChallengeInviteFriendsTopNavigation);

0 comments on commit 4927152

Please sign in to comment.