added max width to the switch control (#7790)

This commit is contained in:
rashmi rai 2021-10-04 12:27:17 +05:30 committed by GitHub
parent 03d7c308a6
commit 4e7dec2738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,12 +23,14 @@ const SwitchWrapped = styled.div`
.bp3-control { .bp3-control {
margin-bottom: 0px; margin-bottom: 0px;
} }
max-width: 60vw;
`; `;
const Info = styled.div` const Info = styled.div`
font-size: 12px; font-size: 12px;
opacity: 0.7; opacity: 0.7;
margin-top: 8px; margin-top: 8px;
max-width: 60vw;
`; `;
export class SwitchField extends React.Component<Props, any> { export class SwitchField extends React.Component<Props, any> {