fix: changed several components style font-family to monospace (#1063)

fixes #909
This commit is contained in:
Andrew Zhukevych 2019-10-16 16:02:50 +03:00 committed by Roman Hotsiy
parent b5af71da5f
commit 0c20e64178
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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