feat: update pattern styling (#2196) (#2600)

Closes #2196
This commit is contained in:
Michael Huynh 2024-10-28 19:25:32 +08:00 committed by GitHub
parent c3fce4e2b2
commit aa0879ca02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -97,9 +97,11 @@ export const RecursiveLabel = styled(FieldLabel)`
export const PatternLabel = styled(FieldLabel)` export const PatternLabel = styled(FieldLabel)`
color: #0e7c86; color: #0e7c86;
font-family: ${props => props.theme.typography.code.fontFamily};
font-size: 12px;
&::before, &::before,
&::after { &::after {
font-weight: bold; content: ' ';
} }
`; `;

View File

@ -163,7 +163,7 @@ exports[`FieldDetailsComponent renders correctly when field items have string ty
> >
[ [
<span <span
class="sc-kpDqfm sc-eDPEul cGRfjn erJHow" class="sc-kpDqfm sc-eDPEul cGRfjn cCKYVD"
> >
^see regex[0-9]$ ^see regex[0-9]$
</span> </span>