mobile all teh things

This commit is contained in:
davidwells 2018-06-12 16:37:00 -07:00
parent a8634324fa
commit 736e79f6b3
2 changed files with 28 additions and 8 deletions

View file

@ -19,7 +19,9 @@
color: white;
padding-left: 60px;
}
.app-left-nav {
display: flex;
}
.app-title {
font-size: 1.5em;
}
@ -33,7 +35,7 @@
align-items: center;
}
.deploy-button {
width: 250px;
width: 200px;
}
.view-src {
margin-top: 15px;
@ -110,6 +112,10 @@
@media (max-width: 768px) {
.app-title-wrapper {
flex-direction: column;
align-items: flex-start;
}
.app-title {
font-size: 18px;
}
@ -123,15 +129,25 @@
}
.app-header {
padding-left: 20px;
height: auto;
}
.app-logo {
height: 60px;
margin-right: 10px;
}
.deploy-button-wrapper {
margin-left: 70px;
}
.deploy-button {
width: 150px;
}
.todo-list-title {
font-size: 15px;
}
.todo-create-input {
margin-bottom: 15px;
}
.view-src {
display: none;
}
}

View file

@ -189,6 +189,8 @@ class App extends Component {
<div className="app">
<header className="app-header">
<div className="app-title-wrapper">
<div className="app-title-wrapper">
<div className='app-left-nav'>
<img src={logo} className="app-logo" alt="logo" />
<div className='app-title-text'>
<h1 className="app-title">Netlify + Fauna DB</h1>
@ -196,6 +198,8 @@ class App extends Component {
Using FaunaDB & Netlify functions
</p>
</div>
</div>
</div>
<div className='deploy-button-wrapper'>
<a
target='_blank'