Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
feat(score-box): shrink the log box a little
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Oct 16, 2020
1 parent 168b05e commit ef52e36
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/score-box/score-box.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
xmlns="http://www.w3.org/2000/svg"
version="1.0"
preserveAspectRatio="xMinYMin meet"
viewBox="0 0 640 400">
viewBox="0 0 640 350">
<!-- white border -->
<rect style="opacity:1;fill:black;fill-opacity:1;stroke:white;stroke-width:16;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" x="0" y="0" width="640" height="400" />
<rect style="opacity:1;fill:black;fill-opacity:1;stroke:white;stroke-width:16;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" x="0" y="0" width="640" height="350" />

<g *ngIf="game.gameComplete">
<text x="200" y="52" text-anchor="end" fill="white" style="font-size: 25px; font-family: scoreboard, sans-serif; font-weight: bold">
Expand Down Expand Up @@ -77,9 +77,9 @@
<text x="605" y="122" fill="white" text-anchor="end" style="font-size: 25px; font-family: scoreboard, sans-serif; font-weight: bold">{{game.homeScore}}</text>

<!-- log box -->
<rect style="opacity:1;stroke:yellow;stroke-width:4" x="20" y="160" width="600" height="218"></rect>
<rect style="opacity:1;stroke:yellow;stroke-width:4" x="20" y="160" width="600" height="168"></rect>
<!-- log text -->
<foreignObject x="30" y="165" width="580" height="203">
<foreignObject x="30" y="165" width="580" height="153">
<div xmlns="http://www.w3.org/1999/xhtml" style="font-size: 25px; font-family: scoreboard, sans-serif; font-weight: bold">
{{game.lastUpdate}}
</div>
Expand Down

0 comments on commit ef52e36

Please sign in to comment.