Skip to content

Commit 63e99cd

Browse files
author
R. S. Doiel
committed
Merge branch 'main' of github.com:caltechlibrary/CL-web-components into rsdoiel
2 parents 27bd00c + bc3fee7 commit 63e99cd

File tree

3 files changed

+21
-18
lines changed

3 files changed

+21
-18
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

src/footer-global.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,13 @@ export class FooterGlobal extends HTMLElement {
318318
line-height: 2;
319319
}
320320
321-
/* Force Font Awesome rendering inside the component */
322-
i.fa {
323-
font-family: 'FontAwesome';
324-
font-style: normal;
325-
font-weight: normal;
326-
speak: none;
321+
/* Style for SVG icon injected in #footer-login */
322+
#footer-login a svg {
323+
width: 1.25rem;
324+
height: 1.25rem;
325+
fill: #fff;
326+
display: inline-block;
327+
vertical-align: middle;
327328
}
328329
</style>
329330

0 commit comments

Comments
 (0)