Commit 66638d33 authored by Marjolaine Bodin's avatar Marjolaine Bodin
Browse files

#498 change switch size

parent 1b8447b2
......@@ -88,6 +88,9 @@ export default function SettingLogbookMenuPanel(props) {
return isChecked(commandLineValue);
};
const switchWidth = 40;
const switchHeight = 20;
return (
<Panel>
<Panel.Heading>
......@@ -128,6 +131,7 @@ export default function SettingLogbookMenuPanel(props) {
</Grid>
</Col>
<Col md={2} sm={6} xs={12}>
<h4>Display</h4>
<Grid>
{!logbookContext.isReleased && (
<Row>
......@@ -138,6 +142,8 @@ export default function SettingLogbookMenuPanel(props) {
dispatch(setAutomaticRefresh(!automaticRefresh));
}}
checked={automaticRefresh}
width={switchWidth}
height={switchHeight}
/>
</Col>
<Col md={12} sm={12} xs={12}>
......@@ -154,6 +160,8 @@ export default function SettingLogbookMenuPanel(props) {
dispatch(setAutomaticCollapsing(!automaticCollapsing));
}}
checked={automaticCollapsing}
width={switchWidth}
height={switchHeight}
/>
</Col>
<Col md={12} sm={12} xs={12}>
......@@ -164,6 +172,7 @@ export default function SettingLogbookMenuPanel(props) {
</Grid>
</Col>
<Col md={2} sm={6} xs={12}>
<h4>Sort</h4>
<Grid>
<Row>
<Col md={12} sm={12} xs={12}>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment