Skip to content

Commit fd8948c

Browse files
committed
Firefox header progress fix
1 parent 716da93 commit fd8948c

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/app/components/site/phy/HeaderPhy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const HeaderPhy = () => {
2929
<a href={`#${mainContentId}`} className="skip-main">Skip to main content</a>
3030

3131
<div className="m-md-0 d-none d-md-block d-flex align-self-center d-print-none pl-4">
32-
{user?.loggedIn && navigator.userAgent.indexOf("Firefox") < 0 &&
32+
{user?.loggedIn &&
3333
<React.Fragment>
3434
<div id="header-progress" className="d-none d-md-block">
3535
Streak:

src/scss/phy/header.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ a.skip-main:focus, a.skip-main:active {
44
left: 7%;
55
top: 70px;
66
}
7-
div.header-progress {
8-
position: relative;
9-
float: bottom;
10-
height: 100px;
11-
width: 100px;
7+
div#header-progress {
8+
max-width: min-content;
129
}
1310
header {
1411
z-index: 20;

0 commit comments

Comments
 (0)