X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/013ec8ccb46d5438aca45dc5173f838ec863ca7b..1703f15adf9e3875ff0c78ce78117a87b70ca05c:/src/components/subprocess-filter/subprocess-filter.tsx diff --git a/src/components/subprocess-filter/subprocess-filter.tsx b/src/components/subprocess-filter/subprocess-filter.tsx index 23c1e658..36be50d9 100644 --- a/src/components/subprocess-filter/subprocess-filter.tsx +++ b/src/components/subprocess-filter/subprocess-filter.tsx @@ -7,11 +7,13 @@ import { StyleRulesCallback, WithStyles, withStyles } from '@material-ui/core/st import { ArvadosTheme } from '~/common/custom-theme'; import { Typography, Switch } from '@material-ui/core'; -type CssRules = 'container' | 'label' | 'value' | 'switch'; +type CssRules = 'container' | 'label' | 'value'; const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ container: { display: 'flex', + alignItems: 'center', + height: '20px' }, label: { width: '86px', @@ -21,12 +23,6 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ value: { width: '24px', paddingLeft: theme.spacing.unit, - }, - switch: { - height: '20px', - '& span:first-child': { - height: '18px' - } } }); @@ -45,7 +41,7 @@ export const SubprocessFilter = withStyles(styles)(
{label}: {value} - {onToggle &&