Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
ogptoolbox-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
53
Issues
53
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ogptoolbox
ogptoolbox-ui
Commits
fa4848a0
Commit
fa4848a0
authored
Apr 10, 2017
by
Emmanuel Raviart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless div and improve top & bottom margins of arguments in card.
parent
d2dae68c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
37 deletions
+35
-37
src/Cards/Item/View.elm
src/Cards/Item/View.elm
+35
-37
No files found.
src/Cards/Item/View.elm
View file @
fa4848a0
...
...
@@ -341,45 +341,43 @@ viewCardContent model card =
[
ul
[
class
"
list-unstyled"
]
(
List
.
map
(
\
argument
->
li
[]
[
div
[]
[
span
[
attribute
"
aria-hidden"
"
true"
,
class
(
"
glyphicon "
++
if
argument
.
keyId
==
"
cons"
then
"
glyphicon-minus"
else
if
argument
.
keyId
==
"
pros"
then
"
glyphicon-plus"
else
"
glyphicon-triangle-right"
)
]
[]
,
text
"
"
,
div
[
style
[
(
"
display"
,
"
inline-block"
)
]
]
[
viewValueIdLine
language
(
Just
navigate
)
data
False
argument
.
valueId
]
,
text
"
"
,
button
[
attribute
"
data-target"
"
#debate-content"
,
attribute
"
data-toggle"
"
modal"
,
class
"
btn btn-default btn-xs btn-action"
,
onClick
(
ForSelf
(
LoadDebateProperties
[
argument
.
valueId
]
)
li
[
style
[
(
"
margin-bottom"
,
"
4px"
)
,
(
"
margin-top"
,
"
4px"
)
]
]
[
span
[
attribute
"
aria-hidden"
"
true"
,
class
(
"
glyphicon "
++
if
argument
.
keyId
==
"
cons"
then
"
glyphicon-minus"
else
if
argument
.
keyId
==
"
pros"
then
"
glyphicon-plus"
else
"
glyphicon-triangle-right"
)
]
[]
,
text
"
"
,
div
[
style
[
(
"
display"
,
"
inline-block"
)
]
]
[
viewValueIdLine
language
(
Just
navigate
)
data
False
argument
.
valueId
]
,
text
"
"
,
button
[
attribute
"
data-target"
"
#debate-content"
,
attribute
"
data-toggle"
"
modal"
,
class
"
btn btn-default btn-xs btn-action"
,
onClick
(
ForSelf
(
LoadDebateProperties
[
argument
.
valueId
]
)
,
type_
"
button"
]
[
text
(
I18n
.
translate
language
(
I18n
.
Debate
))
]
)
,
type_
"
button"
]
[
text
(
I18n
.
translate
language
(
I18n
.
Debate
))
]
]
)
card
.
arguments
...
...
Write
Preview
Markdown
is supported
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