Skip to content

Commit

Permalink
fix reverse playerboard
Browse files Browse the repository at this point in the history
  • Loading branch information
arjanfrans committed Apr 20, 2024
1 parent f26d815 commit 7877919
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<base href="">

<script type="module" src="/src/main.ts"></script>
<style>
body {
font-family: sans-serif;
}
</style>
</head>

<body style="background-color: #00ff00">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hardbulls/baseball-scoreboard",
"version": "1.4.1",
"version": "1.4.2",
"private": false,
"description": "Web Component that displays a baseball scoreboard for usage in live streams.",
"main": "dist/main.mjs",
Expand Down
8 changes: 4 additions & 4 deletions src/Players.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ export const Players = ({
<div class="container background-dark">
<div
class="row ${battingTeam === "away"
? "background-away"
: "background-home"}"
? "background-home"
: "background-away"}"
style="display: flex; justify-content: space-between; "
>
<div class="type-name-container">
Expand All @@ -106,8 +106,8 @@ export const Players = ({
</div>
<div
class="row ${battingTeam === "home"
? "background-away"
: "background-home"}"
? "background-home"
: "background-away"}"
style="display: flex; justify-content: space-between;"
>
<div class="type-name-container">
Expand Down

0 comments on commit 7877919

Please sign in to comment.