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
Damien Armillon
API Toucan
Commits
2fbb1a6d
Commit
2fbb1a6d
authored
May 21, 2019
by
Damien
Browse files
Cards are centered now
parent
fdd88251
Changes
1
Hide whitespace changes
Inline
Side-by-side
front/src/view/AllToucanPage/AllToucanPage.js
View file @
2fbb1a6d
...
...
@@ -25,8 +25,8 @@ class AllToucan extends Component {
}
render
(){
return
(
<
Segment
style
=
{{
margin
:
"
3em
"
,
padding
:
"
2em
"
}}
textAlign
=
"
center
"
>
<
Card
.
Group
>
<
Segment
style
=
{{
textAlign
:
"
center
"
,
margin
:
"
3em
"
,
padding
:
"
2em
"
}}
>
<
Card
.
Group
centered
>
{
this
.
state
.
toucans
.
map
(
toucan
=>
{
return
<
ToucanCard
image
=
{
`
${
env
.
backURL
}
/toucan/img/
${
toucan
[
"
_id
"
]}
`
}
...
...
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