Skip to content

Commit

Permalink
Cocoon設定の「コンテンツ余白幅」を設定している際、.mainの上下のpaddingが変わってしまう不具合修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Sep 27, 2023
1 parent 9116842 commit 47f6b7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tmp/css-custom.php
Expand Up @@ -346,7 +346,8 @@
<?php //パディング
if (get_main_column_padding()): ?>
.main{
padding: 20px <?php echo get_main_column_padding(); ?>px;
padding-left: <?php echo get_main_column_padding(); ?>px;
padding-right: <?php echo get_main_column_padding(); ?>px;
}
<?php endif ?>
<?php //枠線の幅
Expand Down

0 comments on commit 47f6b7a

Please sign in to comment.