Skip to content

Commit

Permalink
Merge pull request #16 from Brahmware:add-koel-container
Browse files Browse the repository at this point in the history
Update: Live Icon size fixed
  • Loading branch information
sanchayan721 authored Sep 17, 2023
2 parents 9f8a5dc + f441ba7 commit 26c955b
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 26c955b

Please sign in to comment.