Skip to content

Commit

Permalink
Merge pull request #1107 from vektor-inc/fix/media-text-padding
Browse files Browse the repository at this point in the history
Delete padding from  Media and Text block that under the mobile stack mode
  • Loading branch information
kurudrive authored Dec 26, 2023
2 parents f4c5e0f + 1619c57 commit 408b8f0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
9 changes: 2 additions & 7 deletions _g3/assets/_scss/block/_block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -344,13 +344,8 @@ body .wp-block-image figure {
@media (max-width: 600px){
.wp-block-media-text {
&.is-stacked-on-mobile{
.wp-block-media-text__media {
margin-bottom:1.6rem;
}
&.has-media-on-the-right {
.wp-block-media-text__media {
margin-top:1.6rem;
}
.wp-block-media-text__content {
// 縦積みだと画像とテキストがひっついてしまうが、本来スペーサーなどでユーザーが任意に指定するべき部分なのでテーマからは指定しない
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion _g3/assets/css/editor.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _g3/assets/css/style-theme-json.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _g3/assets/css/style.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ https://www.vektor-inc.co.jp/inquiry/
v15.17.0
[ G3 ][ Add action hook ] lightning_entry_footer_append
[ G3 ][ Specification Change ] Add nowrap CSS specification to post date block.
[ G3 ][ Specification Change ] Delete padding from Media and Text block that under the mobile stack mode
[ G3 ][ Bug fix ] Fixed the issue where the sidebar shakes during scrolling.
[ G3 ][ Bug fix ] Fixed a bug where the font size does not change in the editing screen's 'p' tag.

Expand Down

0 comments on commit 408b8f0

Please sign in to comment.