fix: large text in examples value (#1974)

This commit is contained in:
Anastasiia Derymarko 2022-05-03 13:03:36 +03:00 committed by GitHub
parent 4e793f07a8
commit 60bc603e9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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)};

View File

@ -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;
`;