Skip to content

Commit

Permalink
Merge pull request #354 from freelawproject/fix-broken-icons-in-firef…
Browse files Browse the repository at this point in the history
…ox-and-safari

fix(style): Tweaks the src attribute to display icons properly
  • Loading branch information
mlissner authored Dec 18, 2023
2 parents 6243789 + 5f5a4c2 commit 6475a5e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/assets/css/style-ios.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@

@font-face {
font-family: 'RecapFontAwesome';
src: url("chrome-extension://__MSG_@@extension_id__/assets/fonts/fontawesome-webfont.woff2"),
url("moz-extension://__MSG_@@extension_id__/assets/fonts/fontawesome-webfont.woff2");
src: url("chrome-extension://__MSG_@@extension_id__/assets/fonts/fontawesome-webfont.woff2"),
url("moz-extension://__MSG_@@extension_id__/assets/fonts/fontawesome-webfont.woff2"),
url("safari-web-extension://__MSG_@@extension_id__/assets/fonts/fontawesome-webfont.woff2");
font-weight: normal;
font-style: normal;
}
Expand Down
7 changes: 4 additions & 3 deletions src/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@

@font-face {
font-family: 'RecapFontAwesome';
src: url("chrome-extension://__MSG_@@extension_id__/assets/fonts/fontawesome-webfont.woff2"),
url("moz-extension://__MSG_@@extension_id__/assets/fonts/fontawesome-webfont.woff2");
src: url("moz-extension://__MSG_@@extension_id__/assets/fonts/fontawesome-webfont.woff2"),
url("chrome-extension://__MSG_@@extension_id__/assets/fonts/fontawesome-webfont.woff2"),
url("safari-web-extension://__MSG_@@extension_id__/assets/fonts/fontawesome-webfont.woff2");
font-weight: normal;
font-style: normal;
}
Expand Down Expand Up @@ -519,4 +520,4 @@ footer #version {

.banner-message > img{
margin-right: 0.25rem;
}
}

0 comments on commit 6475a5e

Please sign in to comment.