Commit d1fa0231 authored by Marjolaine Bodin's avatar Marjolaine Bodin
Browse files

#498 try to align components

parent 66638d33
Pipeline #47329 passed with stage
in 2 minutes and 59 seconds
......@@ -144,10 +144,13 @@ export default function SettingLogbookMenuPanel(props) {
checked={automaticRefresh}
width={switchWidth}
height={switchHeight}
className={styles.logbookSwitch}
/>
</Col>
<Col md={12} sm={12} xs={12}>
<span>Auto refresh logs</span>
<div className={styles.logbookTextSwitch}>
Auto refresh logs
</div>
</Col>
</Row>
)}
......@@ -162,10 +165,13 @@ export default function SettingLogbookMenuPanel(props) {
checked={automaticCollapsing}
width={switchWidth}
height={switchHeight}
className={styles.logbookSwitch}
/>
</Col>
<Col md={12} sm={12} xs={12}>
<span>Group together command lines</span>
<div className={styles.logbookTextSwitch}>
Group together command lines
</div>
</Col>
</Row>
)}
......@@ -181,6 +187,7 @@ export default function SettingLogbookMenuPanel(props) {
onChange={() => {
dispatch(setIsSortingLatestEventsFirst(false));
}}
className={styles.logbookRadio}
>
Oldest log on top
</Radio>
......@@ -191,6 +198,7 @@ export default function SettingLogbookMenuPanel(props) {
onChange={() => {
dispatch(setIsSortingLatestEventsFirst(true));
}}
className={styles.logbookRadio}
>
Latest log on top
</Radio>
......
.returnCheckbox {
margin-bottom: 12px !important;
}
.logbookSwitch {
margin-top: 10px;
margin-left: -20px;
}
.logbookTextSwitch {
margin-top: 14px;
margin-left: -20px;
}
.logbookRadio {
margin-left: -20px;
}
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