File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed
Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change 55 <tr v-for =" (gameEvent, index) in gameEvents"
66 :key =" index"
77 :style =" {'font-size': rowHeight}" >
8+ <td class =" autoRefIndicator" v-html =" autoRefIndicator(gameEvent)" ></td >
89 <td v-html =" formatGameEvent(gameEvent)" ></td >
910 </tr >
1011 </tbody >
3435 methods: {
3536 formatGameEvent (gameEvent ) {
3637 return mapGameEventToText (gameEvent);
38+ },
39+
40+ autoRefIndicator (gameEvent ) {
41+ if (gameEvent .origin == " " )
42+ {
43+ return " GameController" ;
44+ } else {
45+ return gameEvent .origin ;
46+ }
3747 }
3848 }
3949 }
4353
4454 .game-events {
4555 text-align : left ;
46- font-size : 5.0 vh ;
56+ font-size : 4.5 vh ;
4757 }
4858
4959 .table-striped {
5060 width : 100% ;
51- padding-left : 0.2 em ;
52- padding-right : 0.2 em ;
61+ padding-left : 0.1 em ;
62+ padding-right : 0.1 em ;
5363 }
5464
5565 .table-striped tbody tr :nth-of-type (odd ) {
6070 background-color : #444
6171 }
6272
73+ .table-striped td {
74+ vertical-align : baseline ;
75+ padding : 2px ;
76+ padding-left : 10px ;
77+ }
78+
79+ .autoRefIndicator {
80+ font-size : 3vh ;
81+ }
82+
6383 </style >
You can’t perform that action at this time.
0 commit comments