Skip to content

Commit 39d2a75

Browse files
authored
Merge pull request DSpace#2782 from alexandrevryghem/fix-font-awesome-5-icons_contribute-7.6
Fixed Font Awesome CSS Pseudo-elements not rendering in v6.x
2 parents a3894a1 + 01f97a6 commit 39d2a75

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/app/entity-groups/research-entities/submission/item-list-elements/org-unit/org-unit-suggestions/org-unit-input-suggestions.component.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ form {
33
&:before {
44
pointer-events: none; // prevent the icon from ‘catching‘ the click
55
position: absolute;
6-
font-weight: 900;
7-
font-family: "Font Awesome 5 Free";
6+
font: var(--fa-font-solid);
87
content: "\f0d7";
9-
top: 7px;
8+
top: 10px;
109
right: 0;
1110
height: 20px;
1211
width: 20px;

src/app/entity-groups/research-entities/submission/item-list-elements/person/person-suggestions/person-input-suggestions.component.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ form {
22
&:before {
33
pointer-events: none; // prevent the icon from ‘catching‘ the click
44
position: absolute;
5-
font-weight: 900;
6-
font-family: "Font Awesome 5 Free";
5+
font: var(--fa-font-solid);
76
content: "\f0d7";
8-
top: 7px;
7+
top: 10px;
98
right: 0;
109
height: 20px;
1110
width: 20px;

0 commit comments

Comments
 (0)