mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-10 19:06:34 +03:00
fix: large text in examples value (#1974)
This commit is contained in:
parent
4e793f07a8
commit
60bc603e9b
|
@ -71,6 +71,7 @@ export const PatternLabel = styled(FieldLabel)`
|
|||
|
||||
export const ExampleValue = styled(FieldLabel)`
|
||||
border-radius: 2px;
|
||||
word-break: break-word;
|
||||
${({ theme }) => `
|
||||
background-color: ${transparentize(0.95, theme.colors.text.primary)};
|
||||
color: ${transparentize(0.1, theme.colors.text.primary)};
|
||||
|
|
|
@ -31,6 +31,5 @@ export function Examples({ field }: { field: FieldModel }) {
|
|||
|
||||
const ExamplesList = styled.ul`
|
||||
margin-top: 1em;
|
||||
padding-left: 0;
|
||||
list-style-position: inside;
|
||||
list-style-position: outside;
|
||||
`;
|
||||
|
|
Loading…
Reference in New Issue
Block a user