@eeacms/volto-marine-policy 1.1.5 → 1.1.6

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,12 +4,21 @@ 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.1.5](https://github.com/eea/volto-marine-policy/compare/1.1.4...1.1.5) - 6 May 2024
7
+ ### [1.1.6](https://github.com/eea/volto-marine-policy/compare/1.1.5...1.1.6) - 9 May 2024
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: custom-page-header css [laszlocseh - [`6b1e65b`](https://github.com/eea/volto-marine-policy/commit/6b1e65b8cde50f8c5c4f2dcd6bcd078d7c759dfd)]
12
+
13
+ #### :house: Internal changes
14
+
15
+ - chore: remove paths from externalRoutes as they will be implemented as volto pages [laszlocseh - [`75a4f6d`](https://github.com/eea/volto-marine-policy/commit/75a4f6df797f374794f91dc3bbfc43fbcf6b272c)]
16
+
17
+ ### [1.1.5](https://github.com/eea/volto-marine-policy/compare/1.1.4...1.1.5) - 7 May 2024
8
18
 
9
19
  #### :bug: Bug Fixes
10
20
 
11
21
  - fix: eslint . [nileshgulia1 - [`6280d19`](https://github.com/eea/volto-marine-policy/commit/6280d191037782ce11c491b681b9e20878da15f2)]
12
- - fix(navigation): do not expand accordion without children [nileshgulia1 - [`057e1ca`](https://github.com/eea/volto-marine-policy/commit/057e1ca6966b023cb9354ba437c9879c8f1e14d4)]
13
22
 
14
23
  ### [1.1.4](https://github.com/eea/volto-marine-policy/compare/1.1.3...1.1.4) - 29 April 2024
15
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-marine-policy",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "@eeacms/volto-marine-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
package/src/index.js CHANGED
@@ -218,17 +218,17 @@ const applyConfig = (config) => {
218
218
  return payload.location.pathname;
219
219
  },
220
220
  },
221
- {
222
- match: {
223
- path:
224
- '/(.*)marine(-new)?/policy-and-reporting/msfd-reports-and-assessments(.*)',
225
- exact: false,
226
- strict: false,
227
- },
228
- url(payload) {
229
- return payload.location.pathname;
230
- },
231
- },
221
+ // {
222
+ // match: {
223
+ // path:
224
+ // '/(.*)marine(-new)?/policy-and-reporting/msfd-reports-and-assessments(.*)',
225
+ // exact: false,
226
+ // strict: false,
227
+ // },
228
+ // url(payload) {
229
+ // return payload.location.pathname;
230
+ // },
231
+ // },
232
232
  {
233
233
  match: {
234
234
  path:
@@ -240,28 +240,28 @@ const applyConfig = (config) => {
240
240
  return payload.location.pathname;
241
241
  },
242
242
  },
243
- {
244
- match: {
245
- path:
246
- '/(.*)marine(-new)?/policy-and-reporting/assessment-by-country(.*)',
247
- exact: false,
248
- strict: false,
249
- },
250
- url(payload) {
251
- return payload.location.pathname;
252
- },
253
- },
254
- {
255
- match: {
256
- path:
257
- '/(.*)marine(-new)?/policy-and-reporting/assessment-by-region(.*)',
258
- exact: false,
259
- strict: false,
260
- },
261
- url(payload) {
262
- return payload.location.pathname;
263
- },
264
- },
243
+ // {
244
+ // match: {
245
+ // path:
246
+ // '/(.*)marine(-new)?/policy-and-reporting/assessment-by-country(.*)',
247
+ // exact: false,
248
+ // strict: false,
249
+ // },
250
+ // url(payload) {
251
+ // return payload.location.pathname;
252
+ // },
253
+ // },
254
+ // {
255
+ // match: {
256
+ // path:
257
+ // '/(.*)marine(-new)?/policy-and-reporting/assessment-by-region(.*)',
258
+ // exact: false,
259
+ // strict: false,
260
+ // },
261
+ // url(payload) {
262
+ // return payload.location.pathname;
263
+ // },
264
+ // },
265
265
  ];
266
266
 
267
267
  config.settings.openExternalLinkInNewTab = true;
@@ -295,13 +295,21 @@ section .searchlib-block .ui.button.sui-button.basic {
295
295
  }
296
296
 
297
297
  // Custom page header
298
- #page-header .content-box {
299
- margin-bottom: 0px;
300
- }
298
+ body.custom-page-header {
299
+ #page-header {
300
+ .column-blocks-wrapper,
301
+ .content-box {
302
+ margin-bottom: 0;
303
+ }
304
+
305
+ .country-header-block {
306
+ padding-right: 1em;
307
+ }
301
308
 
302
- body.custom-page-header #page-header {
303
- margin-right: auto !important;
304
- margin-left: auto !important;
309
+ .country-flag {
310
+ padding-left: 1.25rem;
311
+ }
312
+ }
305
313
  }
306
314
 
307
315
  body.custom-page-header .breadcrumbs {
@@ -347,3 +355,10 @@ body.custom-page-header .breadcrumbs {
347
355
  margin-bottom: 0;
348
356
  }
349
357
  }
358
+
359
+ // Fix block width when used as page header
360
+ #page-header .styled-group.has--useAsPageHeader--true {
361
+ margin-left: auto;
362
+ margin-right: auto;
363
+ width: 100%;
364
+ }