Revert "refactor: corrige l'erreur div descendant de p"

This reverts commit cbacb19b24.
pull/3242/merge
liliced 2024-12-10 14:33:15 +01:00
parent 784fbb6484
commit 3d2c92c0e6
1 changed files with 1 additions and 3 deletions

View File

@ -6,7 +6,6 @@ export { default as Container } from './Container'
export { default as Grid } from './Grid'
type SpacingProps = (
| { xxxl: true }
| { xxl: true }
| { xl: true }
| { lg: true }
@ -31,7 +30,6 @@ export function Spacing(props: SpacingProps) {
)
}
const SpacingStyled = styled.span<{ $size: keyof Theme['spacings'] }>`
display: block;
const SpacingStyled = styled.div<{ $size: keyof Theme['spacings'] }>`
min-height: ${({ theme, $size }) => theme.spacings[$size]};
`