fix: large text in examples value

This commit is contained in:
anastasiia-developer 2022-04-28 18:44:32 +03:00
parent 7a404863f9
commit 4b03d32a6d
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;
padding-left: 17px;
`;