@total_onion/onion-library 1.0.171 → 1.0.172

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@
7
7
  {% set styleVars = imageAspectRatioDesktop ~ imageAspectRatioPortrait ~ imageAspectRatioMobile %}
8
8
 
9
9
  <style>
10
- .{{blockClassName}}__post-video.{{block.id}}{
10
+ .{{blockClassName}}__post-video-container.{{block.id}}{
11
11
  {{gridLayoutElement}}
12
12
  {{styleVars}}
13
13
  }
@@ -15,7 +15,7 @@
15
15
  {% set videoSelect = field.video_select|ru %}
16
16
  {% set videoDesktop = attribute(post, videoSelect) %}
17
17
 
18
- <div class="{{blockClassName}}__post-video-container" data-pattern-type >
18
+ <div class="{{blockClassName}}__post-video-container {{blockClassName}}__info-item {{block.id}}" data-pattern-type >
19
19
  <video class="{{blockClassName}}__post-video {{block.id}}" playsinline width='{{videoDesktop.width}}' height='{{videoDesktop.height}}' autoplay loop muted>
20
20
  <source src="{{gt_video_mainsrc(videoDesktop['url'])}}" type="video/mp4">
21
21
  </video>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "1.0.171",
3
+ "version": "1.0.172",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {