Skip to content

Commit

Permalink
feat: update pattern styling (Redocly#2196)
Browse files Browse the repository at this point in the history
  • Loading branch information
miqh committed Oct 13, 2024
1 parent d193dd2 commit 6b28621
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/common-elements/fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,11 @@ export const RecursiveLabel = styled(FieldLabel)`

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

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

0 comments on commit 6b28621

Please sign in to comment.