mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 02:23:43 +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),
|
styled(PrismDiv),
|
||||||
)`
|
)`
|
||||||
|
|
||||||
|
@ -31,8 +31,8 @@ export const StyledMarkdownBlock = withProps<{ dense?: boolean; inline?: boolean
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
${({ dense }) =>
|
${({ compact }) =>
|
||||||
dense &&
|
compact &&
|
||||||
`
|
`
|
||||||
p:first-child {
|
p:first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user