mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +03:00
chore: minor fix after dense->compact rename
This commit is contained in:
parent
893c83ed07
commit
cbc9eab00a
|
@ -17,7 +17,7 @@ export const linksCss = css`
|
|||
}
|
||||
`;
|
||||
|
||||
export const StyledMarkdownBlock = withProps<{ dense?: boolean; inline?: boolean }>(
|
||||
export const StyledMarkdownBlock = withProps<{ compact?: boolean; inline?: boolean }>(
|
||||
styled(PrismDiv),
|
||||
)`
|
||||
|
||||
|
@ -31,8 +31,8 @@ export const StyledMarkdownBlock = withProps<{ dense?: boolean; inline?: boolean
|
|||
}
|
||||
}
|
||||
|
||||
${({ dense }) =>
|
||||
dense &&
|
||||
${({ compact }) =>
|
||||
compact &&
|
||||
`
|
||||
p:first-child {
|
||||
margin-top: 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user