Skip to content

Commit

Permalink
Fencing: fix bout getting cut off (#126)
Browse files Browse the repository at this point in the history
* fencing: fix double-touch

* Fix bout getting cut off
  • Loading branch information
markspolakovs authored May 4, 2024
1 parent af276f2 commit 5e25875
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export function Scoreboard({
score={awayScore}
/>
<NameBox
name={quarterTitle + quarter}
name={quarterTitle + " " + quarter}
primaryColor="var(--ystv-dark)"
sheen={false}
/>
Expand Down
5 changes: 3 additions & 2 deletions bundle-src/src/graphics/common/teamNameBox/index.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.Background {
width: 94rem;
min-width: 94rem;
height: 40rem;
box-shadow: inset 0 7rem 1rem 0 rgba(255, 255, 255, 0.26);
position: relative;
Expand Down Expand Up @@ -29,8 +29,9 @@
}

.Text {
width: 94rem;
min-width: 94rem;
height: 40rem;
padding: 0 8rem;
text-shadow: 0 0 6rem rgba(0, 0, 0, 0.35);
font-family: OpenSans;
font-size: 24rem;
Expand Down
2 changes: 1 addition & 1 deletion bundle-src/src/graphics/common/teamNameBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function NameBox(props: Props & React.HTMLAttributes<HTMLDivElement>) {
/>
)}
<h5 className={styles.Text} style={{ color: secondaryColor }}>
{name.substring(0, 4).toUpperCase()}
{name.toUpperCase()}
</h5>
</div>
);
Expand Down

0 comments on commit 5e25875

Please sign in to comment.