@openeuropa/bcl-featured-media 0.18.0 → 0.19.0

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.
@@ -57,6 +57,8 @@
57
57
  {% set attributes = create_attribute() %}
58
58
  {% endif %}
59
59
 
60
+ {% set attributes = attributes.addClass(["rounded", "overflow-hidden"]) %}
61
+
60
62
  {% if _with_text %}
61
63
  <div class="{{ _wrapper_classes }}">
62
64
 
@@ -75,7 +77,7 @@
75
77
  {% include '@oe-bcl/bcl-link/link.html.twig' with _read_more only %}
76
78
  {% endif %}
77
79
  </div>
78
- <div class="{{ _col_classes }} order-{{ _alignment == "right" ? '2' : '1' }}">
80
+ <div class="{{ _col_classes }} order-{{ _alignment == "right" ? '2 mt-4 mt-md-0' : '1' }}">
79
81
  {% endif %}
80
82
 
81
83
  <figure
package/package.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "name": "@openeuropa/bcl-featured-media",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.18.0",
5
+ "version": "0.19.0",
6
6
  "description": "OE - BCL featured media",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
10
  "dependencies": {
11
- "@openeuropa/bcl-link": "^0.18.0"
11
+ "@openeuropa/bcl-link": "^0.19.0"
12
12
  },
13
13
  "repository": {
14
14
  "type": "git",
@@ -24,5 +24,5 @@
24
24
  "design-system",
25
25
  "twig"
26
26
  ],
27
- "gitHead": "a82834df6dff563a956a79bf2899c92742dd5820"
27
+ "gitHead": "8bfce06400c8829a46578797f0126b4e9c02e725"
28
28
  }