Skip to content

Commit

Permalink
Fix image class for Air-light v9.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Aug 23, 2022
1 parent 7dcf8dd commit 6a9c186
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
Empty file modified .editorconfig
100644 → 100755
Empty file.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 2.0.7: 2022-08-23

* Fix image class for Air-light v9.0.8

### 2.0.6: 2022-06-09

* Fix breakpoints and paddings
Expand Down
2 changes: 1 addition & 1 deletion air-light-demo-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ function demo_css() { ?>
padding-bottom: 0;
}

.block-demo-centered .has-lazyload {
.block-demo-centered .image-background {
aspect-ratio: 16/6;
}

Expand Down
6 changes: 3 additions & 3 deletions block-demo-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
* @Author: Timi Wahalahti
* @Date: 2021-05-17 13:34:52
* @Last Modified by: Roni Laukkarinen
* @Last Modified time: 2022-05-26 15:18:55
* @Last Modified time: 2022-08-23 16:17:29
*
* @package air-light
*/

?>
<section class="block block-hero-big-image">
<div class="image has-lazyload" aria-hidden="true">
<div class="image-background" aria-hidden="true">
<img loading="lazy" alt="A decorative picture about ferris wheel" src="https://blocks.airwptheme.com/media/bruno-abatti-Xzer0SqKPEE-unsplash.jpeg">

<div class="container">
Expand Down Expand Up @@ -51,7 +51,7 @@
</p>
</div>

<div class="image has-lazyload">
<div class="image-background">
<img loading="lazy" src="https://blocks.airwptheme.com/media/gutenberg.png" alt="Gutenberg-editor">
</div>

Expand Down
Empty file modified phpcs.xml
100644 → 100755
Empty file.

0 comments on commit 6a9c186

Please sign in to comment.