fix: improve mime-type dropdown font

This commit is contained in:
Roman Hotsiy 2019-10-16 17:19:42 +03:00
parent eac7bb8051
commit ce885f864a
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -21,7 +21,7 @@ export const StyledDropdown = styled(Dropdown)`
font-family: ${props => props.theme.typography.headings.fontFamily}; font-family: ${props => props.theme.typography.headings.fontFamily};
.Dropdown-control { .Dropdown-control {
font-family: ${props => props.theme.typography.code.fontFamily}; font-family: ${props => props.theme.typography.headings.fontFamily};
position: relative; position: relative;
font-size: 0.929em; font-size: 0.929em;
width: 100%; width: 100%;
@ -55,7 +55,7 @@ export const StyledDropdown = styled(Dropdown)`
display: block; display: block;
height: 0; height: 0;
position: absolute; position: absolute;
right: 0.6em; right: 0.3em;
top: 50%; top: 50%;
margin-top: -0.125em; margin-top: -0.125em;
width: 0; width: 0;
@ -97,7 +97,7 @@ export const StyledDropdown = styled(Dropdown)`
export const SimpleDropdown = styled(StyledDropdown)` export const SimpleDropdown = styled(StyledDropdown)`
margin-left: 10px; margin-left: 10px;
text-transform: none; text-transform: none;
font-size: 0.929em; font-size: 0.969em;
.Dropdown-control { .Dropdown-control {
font-size: 1em; font-size: 1em;