fix: fix hero tags spacing on tablet size

This commit is contained in:
Hossein Mehrabi 2023-08-31 04:59:52 +03:30
parent a8655251c9
commit 1c416eddfc
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1

View File

@ -1,6 +1,7 @@
import { LPETag } from '@/components/LPETag'
import styled from '@emotion/styled'
import React from 'react'
import { lsdUtils } from '../../utils/lsd.utils'
export type NavbarFilter = Partial<React.ComponentProps<typeof Container>> & {
tags?: string[]
@ -62,7 +63,7 @@ const Tags = styled.div`
}
}
@media (max-width: ${(props) => props.theme.breakpoints.sm.width}px) {
${(props) => lsdUtils.breakpoint(props.theme, 'md', 'down')} {
padding-left: var(--main-content-padding);
padding-right: var(--main-content-padding);
}