Fix scss indent

This commit is contained in:
Jorik Schellekens 2020-06-24 16:23:36 +01:00
parent 317d60b552
commit 6dab598f10
4 changed files with 26 additions and 26 deletions

View file

@ -30,7 +30,7 @@
"git add" "git add"
], ],
"src/**/*.{json,css,scss,md}": [ "src/**/*.{json,css,scss,md}": [
"prettier --write", "prettier --write --tab-width 4",
"git add" "git add"
] ]
}, },

View file

@ -15,19 +15,19 @@ limitations under the License.
*/ */
@mixin spacer { @mixin spacer {
width: 100%; width: 100%;
flex-grow: 1; flex-grow: 1;
flex-shrink: 0; flex-shrink: 0;
} }
.topSpacer { .topSpacer {
@include spacer; @include spacer;
height: 30vh; height: 30vh;
} }
.bottomSpacer { .bottomSpacer {
@include spacer; @include spacer;
height: 10vh; height: 10vh;
} }

View file

@ -19,8 +19,8 @@ limitations under the License.
// CSS reset // CSS reset
* { * {
box-sizing: border-box; box-sizing: border-box;
margin: 0; margin: 0;
} }
// Styling for universal elements // Styling for universal elements
@ -28,19 +28,19 @@ limitations under the License.
html, html,
body, body,
#root { #root {
height: 100%; height: 100%;
width: 100%; width: 100%;
font-family: Helvetica Neue; font-family: Helvetica Neue;
font-style: normal; font-style: normal;
background-color: $app-background; background-color: $app-background;
color: $font; color: $font;
} }
h1 { h1 {
font-weight: bold; font-weight: bold;
font-size: 24px; font-size: 24px;
line-height: 32px; line-height: 32px;
text-align: center; text-align: center;
} }

View file

@ -1,11 +1,11 @@
.singleColumnLayout { .singleColumnLayout {
height: 100%; height: 100%;
padding: 0 1em; padding: 0 1em;
margin: 0 auto; margin: 0 auto;
max-width: 550px; max-width: 550px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }