Article template: Fix padding on mobile (fixes #474) (Closes #480)

master
Alexander Surma 2015-06-25 20:29:00 +01:00 committed by Addy Osmani
parent 4a8ededd30
commit 4b77e5a1f2
1 changed files with 6 additions and 5 deletions

View File

@ -27,19 +27,20 @@ header.mdl-layout__header {
.demo-container {
max-width: 1600px;
width: 100%;
width: calc(100% - 16px);
margin: 0 auto;
}
.demo-content {
border-radius: 2px;
padding-left: 80px;
padding-top: 56px;
padding-right: 80px;
padding-bottom: 40px;
padding: 80px 56px;
margin-bottom: 80px;
}
.is-small-screen .demo-content {
padding: 40px 28px;
}
.demo-content h3 {
margin-top: 48px;
}