@eeacms/volto-eea-design-system 1.60.5 → 1.60.7

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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [1.60.7](https://github.com/eea/volto-eea-design-system/compare/1.60.6...1.60.7) - 9 June 2026
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: CLS issue unsized image - refs #304010 [Alin Voinea - [`5deaf1a`](https://github.com/eea/volto-eea-design-system/commit/5deaf1ae22d0afedce06c51268fa2a7d98dfbd46)]
12
+
13
+ ### [1.60.6](https://github.com/eea/volto-eea-design-system/compare/1.60.5...1.60.6) - 6 June 2026
14
+
15
+ #### :bug: Bug Fixes
16
+
17
+ - fix: header and contentbox in print mode - refs #271000 [Teodor Voicu - [`a737817`](https://github.com/eea/volto-eea-design-system/commit/a73781735db29e47f5d4defa9c561f5ff4937f03)]
18
+ - fix: breadcrumbs overflow - refs #304247 [dobri1408 - [`822d920`](https://github.com/eea/volto-eea-design-system/commit/822d920eb6d1ad8eba126476fa30d3ce91c59592)]
19
+
7
20
  ### [1.60.5](https://github.com/eea/volto-eea-design-system/compare/1.60.4...1.60.5) - 26 May 2026
8
21
 
9
22
  ### [1.60.4](https://github.com/eea/volto-eea-design-system/compare/1.60.3...1.60.4) - 21 May 2026
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-design-system",
3
- "version": "1.60.5",
3
+ "version": "1.60.7",
4
4
  "description": "@eeacms/volto-eea-design-system: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -29,6 +29,13 @@ const SubFooter = (props) => {
29
29
  loading="lazy"
30
30
  width={manager.width}
31
31
  height={manager.height}
32
+ style={
33
+ manager.width && manager.height
34
+ ? {
35
+ aspectRatio: `${manager.width} / ${manager.height}`,
36
+ }
37
+ : undefined
38
+ }
32
39
  className="footer-logo-icon"
33
40
  ></Image>
34
41
  </a>
@@ -33,6 +33,9 @@ const Logo = ({
33
33
  id={id}
34
34
  width={width}
35
35
  height={height}
36
+ style={
37
+ width && height ? { aspectRatio: `${width} / ${height}` } : undefined
38
+ }
36
39
  />
37
40
  </Link>
38
41
  );
@@ -3,7 +3,6 @@
3
3
  *******************************/
4
4
 
5
5
  .ui.breadcrumb {
6
-
7
6
  .breadcrumbs-home-item {
8
7
  line-height: 1;
9
8
  }
@@ -15,6 +14,7 @@
15
14
 
16
15
  .ui.breadcrumb ol {
17
16
  display: flex;
17
+ flex-wrap: wrap;
18
18
  line-height: @lineHeight;
19
19
  padding-top: @space-025;
20
20
  padding-left: 0;
@@ -23,6 +23,7 @@
23
23
 
24
24
  li {
25
25
  display: inline-flex;
26
+ min-width: 0;
26
27
  }
27
28
  }
28
29
 
@@ -54,4 +55,4 @@
54
55
  width: @breadcrumbIconWidth;
55
56
  font-size: var(--breadcrumbIconFontSize, @breadcrumbIconFontSize);
56
57
  }
57
- }
58
+ }
@@ -282,4 +282,4 @@
282
282
  }
283
283
  }
284
284
 
285
- .loadUIOverrides();
285
+ .loadUIOverrides();
@@ -10,7 +10,6 @@ body {
10
10
  }
11
11
 
12
12
  .is-fullscreen-mode {
13
-
14
13
  #header,
15
14
  #footer,
16
15
  .skiplinks-wrapper,
@@ -75,27 +74,27 @@ h6 {
75
74
  min-height: 100px;
76
75
  }
77
76
 
78
- [id='page-document']>*,
79
- .view-wrapper>* {
77
+ [id='page-document'] > *,
78
+ .view-wrapper > * {
80
79
  margin-right: auto !important;
81
80
  margin-left: auto !important;
82
81
  }
83
82
 
84
- [class~='view-defaultview'] [id='page-document']>*,
85
- [class~='view-viewview'] [id='page-document']>*,
83
+ [class~='view-defaultview'] [id='page-document'] > *,
84
+ [class~='view-viewview'] [id='page-document'] > *,
86
85
  #main .container_width,
87
86
  #main .has--size--container_width,
88
- .view-wrapper>* {
87
+ .view-wrapper > * {
89
88
  max-width: @containerWidth !important;
90
89
  }
91
90
 
92
- [class~='narrow_view'] [id='page-document']>*,
91
+ [class~='narrow_view'] [id='page-document'] > *,
93
92
  #main .narrow_width,
94
93
  #main .has--size--narrow_width {
95
94
  max-width: @narrowWidth !important;
96
95
  }
97
96
 
98
- [class~='wide_view'] [id='page-document']>*,
97
+ [class~='wide_view'] [id='page-document'] > *,
99
98
  #main .wide_width,
100
99
  #main .has--size--wide_width {
101
100
  max-width: @wideWidth !important;
@@ -103,8 +102,7 @@ h6 {
103
102
 
104
103
  // enlarge wide section when we have a resolution from 1280px to before the laptop hd resolution
105
104
  @media screen and (min-width: 1280px) and (max-width: 1365px) {
106
-
107
- [class~='wide_view'] [id='page-document']>*,
105
+ [class~='wide_view'] [id='page-document'] > *,
108
106
  #main .wide_width,
109
107
  #main .has--size--wide_width {
110
108
  max-width: @wideWidthLaptop !important;
@@ -124,7 +122,7 @@ h6 {
124
122
  }
125
123
 
126
124
  // add a 1rem margin top and bottom on all direct styled classes from container
127
- [class~='container']>[class*='styled-'] {
125
+ [class~='container'] > [class*='styled-'] {
128
126
  margin-top: @rem-space-4;
129
127
  margin-bottom: @rem-space-4;
130
128
  }
@@ -208,11 +206,9 @@ a {
208
206
  }
209
207
  }
210
208
 
211
-
212
209
  // fix background position when using the side navigation and the
213
210
  // content area is moved to the left instead of being centered
214
- @media (min-width:992px) and (max-width:1365px) {
215
-
211
+ @media (min-width: 992px) and (max-width: 1365px) {
216
212
  .has-side-nav .content-box::before,
217
213
  .has-side-nav .full-width,
218
214
  .has-side-nav .has--size--full {
@@ -223,8 +219,7 @@ a {
223
219
  }
224
220
  }
225
221
 
226
- @media (min-width:1366px) {
227
-
222
+ @media (min-width: 1366px) {
228
223
  .has-side-nav .content-box::before,
229
224
  .has-side-nav .full-width,
230
225
  .has-side-nav .has--size--full {
@@ -232,10 +227,9 @@ a {
232
227
  }
233
228
  }
234
229
 
235
- @first-print-page: ~"@page :first { margin-top: 0; }";
230
+ @first-print-page: ~'@page :first { margin-top: 0; }';
236
231
 
237
232
  @media print {
238
-
239
233
  @page {
240
234
  size: A4;
241
235
  margin: 14mm 0;
@@ -285,16 +279,60 @@ a {
285
279
  .slick-arrows,
286
280
  .ui.sticky,
287
281
  .has-side-nav .content-box::before,
288
- .light-header::before {
282
+ .light-header::before,
283
+ #download-print-loader,
284
+ .context-navigation {
289
285
  display: none !important;
290
286
  visibility: hidden;
291
287
  }
292
288
 
293
- .block.gridBlock .ui.grid,
289
+ #page-document {
290
+ padding-left: 12mm;
291
+ padding-right: 12mm;
292
+ }
293
+
294
294
  .content-box {
295
+ margin-left: -12mm;
296
+ margin-right: -12mm;
297
+ }
298
+
299
+ .content-box-inner {
300
+ padding-left: 12mm;
301
+ padding-right: 12mm;
302
+ }
303
+
304
+ .eea.hero-block,
305
+ .eea.hero-block .hero-block-image-wrapper,
306
+ .full-width,
307
+ .has--size--full {
308
+ margin-left: -12mm;
309
+ margin-right: -12mm;
310
+ }
311
+
312
+ .light-header .container {
313
+ padding-left: 12mm;
314
+ padding-right: 12mm;
315
+ }
316
+
317
+ .block.gridBlock .ui.grid,
318
+ .content-box,
319
+ .block.image,
320
+ figure {
295
321
  break-inside: avoid;
296
322
  }
297
323
 
324
+ h1,
325
+ h2,
326
+ h3,
327
+ h4 {
328
+ + .block.image,
329
+ + .block.gridBlock,
330
+ + .visualization,
331
+ + figure {
332
+ break-before: avoid-page;
333
+ }
334
+ }
335
+
298
336
  // avoid single lines at the beginning or end of a page
299
337
  #page-document p,
300
338
  #page-document li,
@@ -343,23 +381,33 @@ a {
343
381
  page-break-inside: auto;
344
382
  }
345
383
 
346
- // pdf printing optimizations
347
- .light-header .container {
348
- padding-left: 8mm;
349
- padding-right: 8mm;
350
- }
351
-
352
384
  .content-type {
353
385
  --text-color-secondary: @textColor;
354
386
  }
355
387
 
356
388
  .columns-view {
357
- .ui.column.grid>[class*="three wide"].column {
389
+ .content-box & .column-blocks-wrapper {
390
+ box-sizing: border-box;
391
+ padding-right: 8mm !important;
392
+ padding-left: 8mm !important;
393
+ }
394
+
395
+ .ui.column.grid > [class*='three wide'].column {
358
396
  width: 16.66666667% !important;
359
397
  }
360
398
 
361
- .ui.column.grid>[class*="ten wide"].column {
399
+ .ui.column.grid > [class*='ten wide'].column {
362
400
  width: 83.33333333% !important;
363
401
  }
402
+
403
+ .ui.column.grid > [class*='five wide computer'].column,
404
+ .ui.column.grid > [class*='seven wide computer'].column {
405
+ width: 100% !important;
406
+ }
407
+
408
+ .ui.column.grid > [class*='seven wide computer'].column .ui.button {
409
+ max-width: 100%;
410
+ white-space: normal;
411
+ }
364
412
  }
365
413
  }