@eeacms/volto-marine-policy 1.1.1 → 1.1.2
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,7 +4,12 @@ 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.
|
|
7
|
+
### [1.1.2](https://github.com/eea/volto-marine-policy/compare/1.1.1...1.1.2) - 22 April 2024
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- update header customizations with eea design, fix logo width [nileshgulia1 - [`8187c47`](https://github.com/eea/volto-marine-policy/commit/8187c47c860a7efda632ed050d854e6a42e7e3a0)]
|
|
12
|
+
### [1.1.1](https://github.com/eea/volto-marine-policy/compare/1.1.0...1.1.1) - 19 April 2024
|
|
8
13
|
|
|
9
14
|
#### :rocket: New Features
|
|
10
15
|
|
package/package.json
CHANGED
|
@@ -262,27 +262,29 @@ const Main = ({
|
|
|
262
262
|
<Grid.Column mobile={4} tablet={4} computer={8}>
|
|
263
263
|
<div className={inverted ? 'main-menu inverted' : 'main-menu'}>
|
|
264
264
|
{menuItems && (
|
|
265
|
-
<
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
265
|
+
<nav aria-label={'Main'} className="main-nav">
|
|
266
|
+
<ul
|
|
267
|
+
className="ui text eea-main-menu tablet or lower hidden menu"
|
|
268
|
+
ref={desktopMenuRef}
|
|
269
|
+
id={'navigation'}
|
|
270
|
+
>
|
|
271
|
+
{menuItems.map((item) => (
|
|
272
|
+
<Menu.Item
|
|
273
|
+
name={item['@id'] || item.url}
|
|
274
|
+
key={item['@id'] || item.url}
|
|
275
|
+
as={'li'}
|
|
276
|
+
active={
|
|
277
|
+
activeItem.indexOf(item['@id']) !== -1 ||
|
|
278
|
+
activeItem.indexOf(item.url) !== -1
|
|
279
|
+
}
|
|
280
|
+
>
|
|
281
|
+
{renderGlobalMenuItem(item, {
|
|
282
|
+
onClick: menuOnClick,
|
|
283
|
+
})}
|
|
284
|
+
</Menu.Item>
|
|
285
|
+
))}
|
|
286
|
+
</ul>
|
|
287
|
+
</nav>
|
|
286
288
|
)}
|
|
287
289
|
{!hideSearch && (
|
|
288
290
|
<button
|
|
@@ -2,19 +2,6 @@
|
|
|
2
2
|
HEADER MAIN BAR DESKTOP
|
|
3
3
|
----------------------------------------------------------------------------*/
|
|
4
4
|
|
|
5
|
-
#main {
|
|
6
|
-
|
|
7
|
-
.ui.container {
|
|
8
|
-
.main-menu {
|
|
9
|
-
.item:first-child {
|
|
10
|
-
display: flex !important;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.ui.text.menu {
|
|
15
|
-
flex-wrap: wrap;
|
|
16
|
-
justify-content: end;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
5
|
+
#main .main.bar .ui.container .main-nav ul {
|
|
6
|
+
width: max-content;
|
|
20
7
|
}
|