Skip to content

Commit

Permalink
Vertically center the „Plugin Library“ landing page content
Browse files Browse the repository at this point in the history
  • Loading branch information
fk committed Mar 13, 2018
1 parent 0d1ccbd commit 1436f09
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions www/src/pages/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@ import React, { Component } from "react"
import Container from "../components/container"
import logo from "../monogram.svg"
import { rhythm, options } from "../utils/typography"
import { colors } from "../utils/presets"
import presets, { colors } from "../utils/presets"

class Packages extends Component {
render() {
return (
<Container>
<Container
css={{
alignItems: `center`,
display: `flex`,
minHeight: `calc(100vh - ${presets.headerHeight})`,
}}
>
<div
css={{
display: `flex`,
flexDirection: `column`,
alignItems: `center`,
justifyContent: `center`,
height: `calc(100vh - 300px)`,
}}
>
<img
Expand Down

0 comments on commit 1436f09

Please sign in to comment.