Skip to content
This repository has been archived by the owner on Dec 14, 2019. It is now read-only.

Commit

Permalink
Cleans up CSS & updates Craft CMS
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Andrews committed Jun 21, 2019
1 parent 85ad1ef commit f72264b
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 42 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
- Adds: `public/automation/` directory due to gitignore issues with the assets directory [#180](https://github.com/Pageworks/papertrain/issues/180)
- Adds: `.editorconfig` file to `.gitignore`

### Fixed

- Fixes: updates Craft CMS to latest version
- Fixes: sets min-height to `100vh`
- Fixes: removes default padding from `<main>`

### Removed

- Removes: `.editorconfig` file
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"require": {
"php": ">=7.0.0",
"craftcms/cms": "3.1.29",
"craftcms/cms": "3.1.31",
"vlucas/phpdotenv": "^2.4.0",
"roave/security-advisories": "dev-master",
"sebastianlenz/linkfield": "1.0.19",
Expand Down
58 changes: 30 additions & 28 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 2 additions & 13 deletions utils/styles/base/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ html
font-weight: $font-weight;
color: $font-base;
font-size: $base-font-size;
overflow-y: scroll;
overflow-y: auto;
min-height: 100vh;
text-align: left;
position: relative;
Expand All @@ -20,20 +20,9 @@ body{
min-height: 100vh;
overflow-x: hidden;

page-view{
width: 100%;
display: block;
}

main{
min-height: 80vh;
min-height: 100vh;
width: 100%;
padding-top: 126px;
line-height: 0;

@media (min-width: $screen-medium){
padding-top: 125px;
}
}
}

Expand Down

0 comments on commit f72264b

Please sign in to comment.