Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ICAT
Datahub
Commits
d1fa0231
Commit
d1fa0231
authored
May 25, 2021
by
Marjolaine Bodin
Browse files
#498
try to align components
parent
66638d33
Pipeline
#47329
passed with stage
in 2 minutes and 59 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/components/Logbook/Menu/SettingLogbookMenuPanel.js
View file @
d1fa0231
...
...
@@ -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
>
...
...
src/components/Logbook/Menu/SettingLogbookMenuPanel.module.css
View file @
d1fa0231
.returnCheckbox
{
margin-bottom
:
12px
!important
;
}
.logbookSwitch
{
margin-top
:
10px
;
margin-left
:
-20px
;
}
.logbookTextSwitch
{
margin-top
:
14px
;
margin-left
:
-20px
;
}
.logbookRadio
{
margin-left
:
-20px
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment