Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Dec 13, 2024
1 parent 2d0408b commit 0cf8381
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,22 @@ const InnerResponsiveContainer = styled.div(
)

const LabelWrapper = styled.div(
() => css`
({ theme }) => css`
width: 100%;
@media (min-width: ${theme.breakpoints.sm}px) {
flex: 0 0 25%;
}
`,
)

const ValueWrapper = styled.div`
width: 100%;
@media (min-width: ${theme.breakpoints.sm}px) {
flex: 1;
}
`
const ValueWrapper = styled.div(
({ theme }) => css`
width: 100%;
@media (min-width: ${theme.breakpoints.sm}px) {
flex: 1;
}
`,
)

const ButtonContainer = styled.div(
({ theme }) => css`
Expand Down
12 changes: 7 additions & 5 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,13 @@ const LogoAndLanguage = styled.div(
`,
)

const StyledLeadingHeading = styled(LeadingHeading)`
@media (min-width: ${theme.breakpoints.sm}px) {
display: none;
}
`
const StyledLeadingHeading = styled(LeadingHeading)(
({ theme }) => css`
@media (min-width: ${theme.breakpoints.sm}px) {
display: none;
}
`,
)

export default function Page() {
const { t } = useTranslation('common')
Expand Down

0 comments on commit 0cf8381

Please sign in to comment.