Skip to content

Commit

Permalink
fix: changed several components style font-family to monospace (#1063)
Browse files Browse the repository at this point in the history
fixes #909
  • Loading branch information
Hollister009 authored and RomanHotsiy committed Oct 16, 2019
1 parent b5af71d commit 0c20e64
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common-elements/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const StyledDropdown = styled(Dropdown)`
font-family: ${props => props.theme.typography.headings.fontFamily};
.Dropdown-control {
font-family: ${props => props.theme.typography.headings.fontFamily};
font-family: ${props => props.theme.typography.code.fontFamily};
position: relative;
font-size: 0.929em;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/common-elements/fields-layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const PropertyNameCell = styled(PropertyCell)`
line-height: 20px;
white-space: nowrap;
font-size: 0.929em;
font-family: ${props => props.theme.typography.headings.fontFamily};
font-family: ${props => props.theme.typography.code.fontFamily};
&.deprecated {
${deprecatedCss};
Expand Down
2 changes: 1 addition & 1 deletion src/common-elements/fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export const ExampleValue = styled(FieldLabel)`
padding: 0 ${theme.spacing.unit}px;
border: 1px solid ${transparentize(0.9, theme.colors.text.primary)};
font-family: ${theme.typography.code.fontFamily};
color: ${theme.typography.code.color};
}`};
& + & {
margin-left: 0;
Expand All @@ -91,6 +90,7 @@ export const ConstraintItem = styled(FieldLabel)`
margin: 0 ${theme.spacing.unit}px;
padding: 0 ${theme.spacing.unit}px;
border: 1px solid ${transparentize(0.9, theme.colors.primary.main)};
font-family: ${theme.typography.code.fontFamily};
}`};
& + & {
margin-left: 0;
Expand Down

0 comments on commit 0c20e64

Please sign in to comment.