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
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: `public/automation/` directory due to gitignore issues with the assets directory [#180](https://github.com/Pageworks/papertrain/issues/180)
- Adds: `.editorconfig` file to `.gitignore` - 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 ### Removed


- Removes: `.editorconfig` file - Removes: `.editorconfig` file
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -20,7 +20,7 @@
}, },
"require": { "require": {
"php": ">=7.0.0", "php": ">=7.0.0",
"craftcms/cms": "3.1.29", "craftcms/cms": "3.1.31",
"vlucas/phpdotenv": "^2.4.0", "vlucas/phpdotenv": "^2.4.0",
"roave/security-advisories": "dev-master", "roave/security-advisories": "dev-master",
"sebastianlenz/linkfield": "1.0.19", "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
Expand Up @@ -7,7 +7,7 @@ html
font-weight: $font-weight; font-weight: $font-weight;
color: $font-base; color: $font-base;
font-size: $base-font-size; font-size: $base-font-size;
overflow-y: scroll; overflow-y: auto;
min-height: 100vh; min-height: 100vh;
text-align: left; text-align: left;
position: relative; position: relative;
Expand All @@ -20,20 +20,9 @@ body{
min-height: 100vh; min-height: 100vh;
overflow-x: hidden; overflow-x: hidden;


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

main{ main{
min-height: 80vh; min-height: 100vh;
width: 100%; 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.