@eeacms/volto-cca-policy 0.1.47 → 0.1.48

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,13 @@ 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
+ ### [0.1.48](https://github.com/eea/volto-cca-policy/compare/0.1.47...0.1.48) - 16 October 2023
8
+
9
+ #### :house: Internal changes
10
+
11
+ - style: don't apply icon on empty links [kreafox - [`81670eb`](https://github.com/eea/volto-cca-policy/commit/81670ebd6d095d98c19ddffb323486518c3588d3)]
12
+ - style: make external link icon selector more specific [kreafox - [`7a52b81`](https://github.com/eea/volto-cca-policy/commit/7a52b81029842192d7ec2cdfdd5d814b7601d219)]
13
+
7
14
  ### [0.1.47](https://github.com/eea/volto-cca-policy/compare/0.1.46...0.1.47) - 13 October 2023
8
15
 
9
16
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.1.47",
3
+ "version": "0.1.48",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -25,31 +25,33 @@ p.has--clear--both:empty {
25
25
 
26
26
  // Add icon for external links
27
27
  #page-document {
28
- a[rel='noopener noreferrer']:not(.ui.button),
29
- a[target='_blank']:not(.ui.button) {
30
- &:before {
31
- position: relative;
32
- top: 2px;
33
- margin-right: 3px;
34
- color: inherit;
35
- content: '\ecaf';
36
- font-family: remixicon;
37
- font-size: 1em;
38
- }
39
-
40
- &:visited {
28
+ p {
29
+ a[rel='noopener noreferrer']:not(.ui.button):not(:empty),
30
+ a[target='_blank']:not(.ui.button):not(:empty) {
41
31
  &:before {
42
- // fix visited link icon color
43
- // doesn't work with color: inherit
44
- color: @linkVisitedColor;
32
+ position: relative;
33
+ top: 2px;
34
+ margin-right: 3px;
35
+ color: inherit;
36
+ content: '\ecaf';
37
+ font-family: remixicon;
38
+ font-size: 1em;
45
39
  }
46
- }
47
40
 
48
- &:active {
49
- &:before {
50
- // fix active link icon color
51
- // doesn't work with color: inherit
52
- color: @linkActiveColor;
41
+ &:visited {
42
+ &:before {
43
+ // fix visited link icon color
44
+ // doesn't work with color: inherit
45
+ color: @linkVisitedColor;
46
+ }
47
+ }
48
+
49
+ &:active {
50
+ &:before {
51
+ // fix active link icon color
52
+ // doesn't work with color: inherit
53
+ color: @linkActiveColor;
54
+ }
53
55
  }
54
56
  }
55
57
  }
@@ -296,6 +298,7 @@ body.subsite-root.section-mission {
296
298
  div.items {
297
299
  div.listing-item {
298
300
  border: none;
301
+ margin: 0;
299
302
  }
300
303
 
301
304
  .listing-body {