Skip to content

Commit

Permalink
fix probability colors
Browse files Browse the repository at this point in the history
  • Loading branch information
D34DC3N73R authored Oct 17, 2021
1 parent 5d9307b commit ca905c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/ha-nfl-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ class NFLCard extends LitElement {
.play-clock { font-size: 1.4em; text-align: center; margin-top: -24px; }
.probability-text { text-align: center; }
.prob-flex { flex: 1; }
.opponent-probability { width: ${oppoProb}%; background-color: ${teamColor}; height: 14px; border-radius: 0 7px 7px 0; transition: all 1s ease-out; }
.team-probability { width: ${teamProb}%; background-color: ${oppoColor}; height: 14px; border-radius: 7px 0 0 7px; float: right; position: relative; transition: all 1s ease-out; }
.opponent-probability { width: ${oppoProb}%; background-color: ${oppoColor}; height: 14px; border-radius: 0 7px 7px 0; transition: all 1s ease-out; }
.team-probability { width: ${teamProb}%; background-color: ${teamColor}; height: 14px; border-radius: 7px 0 0 7px; float: right; position: relative; transition: all 1s ease-out; }
.probability-wrapper { display: flex; }
.percent { padding: 0 6px; }
.post-game { margin: 0 auto; }
Expand Down

0 comments on commit ca905c7

Please sign in to comment.