Skip to content

Commit

Permalink
add padding to mobile view post & pages
Browse files Browse the repository at this point in the history
  • Loading branch information
hugosolar committed May 3, 2019
1 parent 72dffa4 commit f969052
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
10 changes: 10 additions & 0 deletions css/app.css

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

2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
require STYLESHEETPATH. '/inc/custom-post-types/queulat-cc-chvideos-cpt-plugin/cc-chvideos-cpt-plugin.php';
//require STYLESHEETPATH. '/inc/custom-post-types/queulat-cc-chdocument-cpt-plugin/cc-chdocument-cpt-plugin.php';
require STYLESHEETPATH. '/inc/custom-post-types/queulat-cc-chevent-cpt-plugin/cc-chevent-cpt-plugin.php';
//require STYLESHEETPATH. '/inc/custom-post-types/queulat-cc-chteam-cpt-plugin/cc-chteam-cpt-plugin.php';
require STYLESHEETPATH. '/inc/custom-post-types/queulat-cc-chteam-cpt-plugin/cc-chteam-cpt-plugin.php';
require STYLESHEETPATH. '/inc/custom-post-types/queulat-cc-chwork-cpt-plugin/cc-chwork-cpt-plugin.php';
require STYLESHEETPATH. '/inc/custom-post-types/queulat-cc-charea-cpt-plugin/cc-charea-cpt-plugin.php';

Expand Down
17 changes: 16 additions & 1 deletion scss/components/_pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,22 @@ body.home {
}
}
}

.single, .page {
.site-main {
&>article {
@include breakpoint (tablet-sm-layout) {
padding-right: 1.5rem;
padding-left: 1.5rem;
}
}
}
.wrapper-sidebar {
@include breakpoint (tablet-sm-layout) {
padding-right: 1.5rem;
padding-left: 1.5rem;
}
}
}
//
// Author
// =================================
Expand Down

0 comments on commit f969052

Please sign in to comment.