Skip to content

Commit

Permalink
Update: Live Icon size fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchayan721 committed Sep 17, 2023
1 parent 9f8a5dc commit f441ba7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 11 additions & 6 deletions src/components/navigation/NavBar/ShowLive/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,14 @@ const ShowLive: React.FC<ContainedButtonProps> = ({ ...props }) => {
{...props}
color='error'
>
{showCamera ? <FilmCameraIcon /> : 'Live'}
<AliveComponent />
{
showCamera ?
<FilmCameraIcon /> :
<>
Live
<AliveComponent />
</>
}
</ContainedButton>
)
};
Expand All @@ -86,11 +92,10 @@ export default styled(ShowLive)(({ theme }) => ({
paddingBottom: theme.Spaces.xs,
letterSpacing: '0.1em',
minWidth: '100px',

'@media (max-width: 470px)': {
minWidth: '70px',
paddingLeft: theme.Spaces.xs,
paddingRight: theme.Spaces.sm,
minWidth: 'unset',
padding: theme.Spaces.xs,
},

'&:hover': {
Expand Down
2 changes: 1 addition & 1 deletion src/icons/utility/FilmCameraIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default styled(FilmCameraIcon)(({ theme }) => ({
},
height: '1rem',
width: '1rem',
transform: 'scale(1.5)',
transform: 'scale(1.33)',

'& .right-roll, & .left-roll': {
transformOrigin: 'center',
Expand Down

0 comments on commit f441ba7

Please sign in to comment.