Skip to content

Commit

Permalink
1.3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
webmandesign committed Sep 28, 2022
1 parent dedb309 commit 70b5032
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 13 deletions.
2 changes: 1 addition & 1 deletion assets/css/blocks-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/blocks.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/editor-style-blocks-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/editor-style-blocks.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/scss/blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// @copyright WebMan Design, Oliver Juhas
//
// @since 1.0.0
// @version 1.3.9
// @version 1.3.10
//

$left: left;
Expand Down
7 changes: 6 additions & 1 deletion assets/scss/blocks/_cover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

.wp-block-cover {
height: auto;
padding: var(--block_padding) var(--body_padding);
padding: var(--block_padding);

&.alignfull {
padding-left: var(--body_padding);
padding-right: var(--body_padding);
}

&:not(.has-text-color) {
color: #fff;
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/editor-block/blocks/_columns.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
padding-right: var(--block_ui_margin);
}

[data-align="full"] > .wp-block-columns {
[data-align="full"] > .wp-block-columns:not(.is-style-no-gaps) {
padding-left: var(--body_padding);
padding-right: var(--body_padding);
}
Expand Down
9 changes: 7 additions & 2 deletions assets/scss/editor-block/blocks/_cover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@

}

[data-align="full"] > .wp-block-cover {
padding-left: var(--body_padding);
padding-right: var(--body_padding);
}

// Overriding default WP styles:
@media (min-width: 600px) {
[data-align="full"] .wp-block-group > .wp-block-group__inner-container > .wp-block-cover {
padding-left: var(--body_padding);
padding-right: var(--body_padding);
padding-left: var(--block_padding);
padding-right: var(--block_padding);
}
}
5 changes: 5 additions & 0 deletions assets/scss/editor-block/blocks/_gallery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@
}

}

[data-align="full"] > .wp-block-gallery.alignfull {
margin-left: auto;
margin-right: auto;
}
2 changes: 1 addition & 1 deletion assets/scss/editor-style-blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// @copyright WebMan Design, Oliver Juhas
//
// @since 1.0.0
// @version 1.3.9
// @version 1.3.10
//

$left: left;
Expand Down
14 changes: 14 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Michelle Changelog

## 1.3.10, 20220928

### Fixed
- Cover block padding
- Block editor styles

### File updates
changelog.md
readme.txt
style.css
assets/scss/blocks.scss
assets/scss/editor-style-blocks.scss


## 1.3.9, 20220927

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Please see `changelog.md` file.

== Upgrade Notice ==

= 1.3.9 =
Fixing gallery caption styles and full aligned blocks horizontal padding.
= 1.3.10 =
Fixing Cover block padding and block editor styles.


== Copyright ==
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme Name: Michelle
Theme URI: https://www.webmandesign.eu/portfolio/michelle-wordpress-theme/
Author: WebMan Design
Author URI: https://www.webmandesign.eu/
Version: 1.3.9
Version: 1.3.10
Text Domain: michelle
Domain Path: /languages
License: GPL-3.0-or-later
Expand Down

0 comments on commit 70b5032

Please sign in to comment.