Skip to content

Commit bc3fee7

Browse files
committed
Rebuild: Adding styling to make login svg display
1 parent df335fe commit bc3fee7

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

cl-web-components.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,12 +1657,13 @@ var FooterGlobal = class extends HTMLElement {
16571657
line-height: 2;
16581658
}
16591659
1660-
/* Force Font Awesome rendering inside the component */
1661-
i.fa {
1662-
font-family: 'FontAwesome';
1663-
font-style: normal;
1664-
font-weight: normal;
1665-
speak: none;
1660+
/* Style for SVG icon injected in #footer-login */
1661+
#footer-login a svg {
1662+
width: 1.25rem;
1663+
height: 1.25rem;
1664+
fill: #fff;
1665+
display: inline-block;
1666+
vertical-align: middle;
16661667
}
16671668
</style>
16681669

footer-global.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -315,12 +315,13 @@ var FooterGlobal = class extends HTMLElement {
315315
line-height: 2;
316316
}
317317
318-
/* Force Font Awesome rendering inside the component */
319-
i.fa {
320-
font-family: 'FontAwesome';
321-
font-style: normal;
322-
font-weight: normal;
323-
speak: none;
318+
/* Style for SVG icon injected in #footer-login */
319+
#footer-login a svg {
320+
width: 1.25rem;
321+
height: 1.25rem;
322+
fill: #fff;
323+
display: inline-block;
324+
vertical-align: middle;
324325
}
325326
</style>
326327

0 commit comments

Comments
 (0)