This commit is contained in:
Geido 2021-05-28 09:32:51 +03:00 committed by GitHub
parent b72e5e0aae
commit fce8ac27f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -92,6 +92,13 @@ const Styles = styled.div`
.Select__menu {
max-width: 100%;
}
.type-label {
margin-right: ${({ theme }) => theme.gridUnit * 3}px;
width: ${({ theme }) => theme.gridUnit * 7}px;
display: inline-block;
text-align: center;
font-weight: ${({ theme }) => theme.typography.weights.bold};
}
`;
const ControlPanelsTabs = styled(Tabs)`

View File

@ -298,10 +298,6 @@ export default class SelectControl extends React.PureComponent {
css={theme => css`
.type-label {
margin-right: ${theme.gridUnit * 2}px;
width: ${theme.gridUnit * 7}px;
display: inline-block;
text-align: center;
font-weight: ${theme.typography.weights.bold};
}
`}
>