1
0
Fork 0

💄 Tweaks to footer layout

This commit is contained in:
Joost De Cock 2019-06-26 18:07:20 +02:00
parent 9f104f3ee6
commit beeb3df57e

View file

@ -32,7 +32,7 @@ const Footer = props => {
display: "flex",
flexDirection: "row",
flexWrap: "wrap",
justifyContent: "space-evenly"
justifyContent: "center"
}
};
return (
@ -55,7 +55,10 @@ const Footer = props => {
let items = [];
for (let i of Object.keys(links[l])) {
items.push(
<li key={i}>
<li
key={i}
style={{ textAlign: l === "docs" ? "right" : "left" }}
>
<a href={links[l][i]}>
<FormattedMessage id={"app." + i} />
</a>
@ -64,7 +67,7 @@ const Footer = props => {
}
return (
<div key={l}>
<ul>{items}</ul>
<ul style={{ margin: "0 1rem" }}>{items}</ul>
</div>
);
})}