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
Spot
spot-web-app
Commits
9f2868f2
Commit
9f2868f2
authored
Oct 03, 2018
by
Alexandre Duret-Lutz
Browse files
improve layout of unabbrev checkboxes
parent
25a60ff8
Pipeline
#3993
passed with stage
in 1 minute and 34 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
client/src/LtlApp.js
View file @
9f2868f2
...
...
@@ -140,15 +140,16 @@ const styles = theme => ({
color
:
theme
.
palette
.
common
.
white
}
},
unabbrevbox
:
{
height
:
"
auto
"
,
width
:
"
auto
"
,
paddingLeft
:
"
5px
"
unabbrevboxroot
:
{
marginRight
:
"
10px
"
,
},
unabbrevboxlabel
:
{
marginLeft
:
"
-10px
"
,
},
unabbrevlabel
:
{
...
theme
.
typography
.
body1
,
paddingLeft
:
"
10
px
"
,
paddingRight
:
"
1
5
px
"
paddingLeft
:
"
8
px
"
,
paddingRight
:
"
1
0
px
"
},
parseerror
:
{
color
:
theme
.
palette
.
error
.
main
...
...
@@ -602,9 +603,10 @@ class LtlUnabbrevOptions extends React.Component {
disabled
=
{
syntaxId
===
1
&&
"
MW^
"
.
indexOf
(
key
)
>=
0
}
onChange
=
{
this
.
props
.
handleChangeLtlUnabbrev
(
key
)}
color
=
"
primary
"
className
=
{
this
.
props
.
classes
.
unabbrevbox
}
/>
}
classes
=
{{
root
:
this
.
props
.
classes
.
unabbrevboxroot
,
label
:
this
.
props
.
classes
.
unabbrevboxlabel
}}
label
=
{
<
code
>
{
values
[
1
][
syntaxId
]}
<
/code>
}
/>
);
...
...
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