Skip to content

Commit

Permalink
1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
websevendev committed Jan 18, 2022
1 parent 4a85aef commit 695c8a7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion animations-for-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Animations for Blocks
* Plugin URI: https://wordpress.org/plugins/animations-for-blocks
* Description: Allows to add animations to Gutenberg blocks on scroll.
* Version: 1.0.3
* Version: 1.0.4
* Author: websevendev
* Author URI: https://chap.website/author/websevendev
*/
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Contributors: websevendev
Tags: gutenberg, block, animation, animate, scroll, fade, flip, slide, zoom, move
Requires at least: 5.6
Tested up to: 5.8
Tested up to: 5.9
Requires PHP: 5.4
Stable tag: 1.0.3
Stable tag: 1.0.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -64,6 +64,9 @@ When none of the animated elements show up on your site it's possibly due to a J

== Changelog ==

= 1.0.4 =
* Update block anchor selector.

= 1.0.3 =
* Use generated version number for AOS library.

Expand Down
2 changes: 1 addition & 1 deletion src/AnimatedBlockListBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export default class AnimatedBlockListBlock extends Component {
...wrapperProps,
...animationProps,
'data-aos-id': this.props.clientId,
'data-aos-anchor': '.editor-block-list__block-edit',
'data-aos-anchor': '.block-editor-block-list__block',
};
}
}
Expand Down
9 changes: 1 addition & 8 deletions src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,9 @@
/**
* Hide block toolbar during animation.
*/
.editor-block-toolbar {
.block-editor-block-toolbar {
display: none !important;
}

/**
* Hide block outline during animation.
*/
.editor-block-list__block-edit:before {
outline-color: rgba(0, 0, 0, 0) !important;
}
}

/**
Expand Down

0 comments on commit 695c8a7

Please sign in to comment.