Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[www] Refactor Homepage and Navigation & convert diagram to html/css #1605

Merged
merged 21 commits into from
Jul 27, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix "Data Sources" flexbox layout for Safari and iPhone5-ish screens
  • Loading branch information
Florian Kissling committed Jul 25, 2017
commit a00541ff09b4f6505e38c50c228848e45edfbec9
9 changes: 7 additions & 2 deletions www/src/components/diagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const SourceItems = ({ children }) =>
css={{
display: `flex`,
flexWrap: `wrap`,
justifyContent: `space-around`,
justifyContent: `center`,
...box,
}}
>
Expand All @@ -105,7 +105,12 @@ const SourceItem = ({ children }) =>
boxSizing: `border-box`,
padding: `0 .8rem ${rhythm(1)}`,
display: `flex`,
flex: `1 1 33%`,
[presets.Mobile]: {
flex: `1 1 50%`,
},
[presets.Phablet]: {
flex: `1 1 33%`,
},
}}
>
<div
Expand Down