Skip to content

Commit

Permalink
fix: hide theme radio in mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
jonyw4 committed Jan 19, 2022
1 parent 2751836 commit acc778c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 8 additions & 1 deletion webapp/src/components/global/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,11 @@ label {

.strong {
font-weight: 600;
}
}


@media (max-width: 600px) {
.hide-mobile {
display: none;
}
}
4 changes: 3 additions & 1 deletion webapp/src/components/organisms/Header/Header.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ export function Header(){
return (
<header>
<ProfileCard />
<ThemeRadio />
<div className="hide-mobile">
<ThemeRadio />
</div>
</header>
);
}

1 comment on commit acc778c

@vercel
Copy link

@vercel vercel bot commented on acc778c Jan 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.