Skip to content

Commit

Permalink
Fix small visual details in game page
Browse files Browse the repository at this point in the history
  • Loading branch information
arielj committed Nov 26, 2023
1 parent 26e9e15 commit fb54abe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/frontend/screens/Game/GamePage/components/HLTB.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const HLTB = () => {
title={t('info.clickToOpen', 'Click to open')}
>
<Speed />
{t('howLongToBeat', 'How Long To Beat')}
<b>{t('howLongToBeat', 'How Long To Beat')}</b>
</div>
}
>
Expand Down
18 changes: 13 additions & 5 deletions src/frontend/screens/Game/GamePage/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,7 @@
transition: color 300ms;
display: flex;
align-items: center;

svg {
margin-inline-end: var(--space-3xs);
}
gap: 0.3rem;
}
}

Expand Down Expand Up @@ -475,6 +472,10 @@
text-align: left;
}

& > .popover-wrapper {
z-index: 3;
}

&::after {
content: '';
display: block;
Expand Down Expand Up @@ -603,7 +604,8 @@

&.infoTab,
&.extraTab {
& > div > * {
& > div > *,
& > div > .popover-wrapper > * {
display: flex;
text-align: end;
font-size: 16px;
Expand Down Expand Up @@ -640,6 +642,12 @@
background: var(--body-background);
}
}
.popover-wrapper {
overflow: visible;
.popover {
height: auto;
}
}
}
}

Expand Down

0 comments on commit fb54abe

Please sign in to comment.