@openeuropa/bcl-featured-media 0.25.1 → 0.26.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.
@@ -67,6 +67,15 @@
67
67
 
68
68
  {% set attributes = attributes.addClass(["rounded", "overflow-hidden"]) %}
69
69
 
70
+ {% if _image is not empty %}
71
+ {% set attributes = attributes.addClass(["d-inline-flex", "flex-wrap"]) %}
72
+ {% if _content_classes is not empty %}
73
+ {% set _content_classes = _content_classes ~ ' flex-1 w-min-content' %}
74
+ {% else %}
75
+ {% set _content_classes = 'flex-1 w-min-content' %}
76
+ {% endif %}
77
+ {% endif %}
78
+
70
79
  {% if _with_text %}
71
80
  <div class="{{ _wrapper_classes }}">
72
81
  <div class="row">
package/package.json CHANGED
@@ -2,14 +2,14 @@
2
2
  "name": "@openeuropa/bcl-featured-media",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.25.1",
5
+ "version": "0.26.0",
6
6
  "description": "OE - BCL featured media",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
10
  "dependencies": {
11
- "@openeuropa/bcl-heading": "^0.25.1",
12
- "@openeuropa/bcl-link": "^0.25.1"
11
+ "@openeuropa/bcl-heading": "^0.26.0",
12
+ "@openeuropa/bcl-link": "^0.26.0"
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
@@ -25,5 +25,5 @@
25
25
  "design-system",
26
26
  "twig"
27
27
  ],
28
- "gitHead": "01db3de0765fee0f44e4f202f3ea7d0f2e28f742"
28
+ "gitHead": "94d89cc379780cfce06178959194b3bc1b4c5eda"
29
29
  }