Skip to content

Commit

Permalink
Merge pull request #423 from skaut/blog-fix
Browse files Browse the repository at this point in the history
Fixed GP bottom margin
  • Loading branch information
marekdedic authored May 15, 2021
2 parents 72bcf8d + 678d616 commit 840d816
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/php/frontend/blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ function blog_css() {
'padding-left: ' . $separator . 'px;' .
'}' .
'.generate-columns-container {' .
'margin-bottom: ' . $separator . 'px;' .
'margin-left: -' . $separator . 'px;' .
'}' .
'.crdm-modern-excerpt {' .
Expand Down
5 changes: 4 additions & 1 deletion src/ts/admin/customizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ liveReload( 'generate_spacing_settings[separator]', [
},
{
selector: '.generate-columns-container',
properties: [ { name: 'margin-left', prefix: '-', postfix: 'px' } ],
properties: [
{ name: 'margin-bottom', postfix: 'px' },
{ name: 'margin-left', prefix: '-', postfix: 'px' },
],
},
{
selector: '.crdm-modern-excerpt',
Expand Down

0 comments on commit 840d816

Please sign in to comment.