diff --git a/public/styles/shared.css b/public/styles/shared.css index f9d7929..62db646 100644 --- a/public/styles/shared.css +++ b/public/styles/shared.css @@ -239,15 +239,23 @@ footer { @media screen and (max-width: 480px) { .row { flex-direction: column; + border-style: solid; + border-color: lightblue; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1; } } .col { flex: 1; + min-width: 80px; } .table.noCollapse .row { flex-direction: row; + border-style: none; } /* bits and pieces */ @@ -264,10 +272,6 @@ footer { margin-bottom: 2em; } -.minWidth { /* hacky */ - min-width: 80px; -} - pre { color: pink; background-color: #222222; diff --git a/src/components/panels/paged_combat_log.jsx b/src/components/panels/paged_combat_log.jsx index 1550624..30ba00d 100644 --- a/src/components/panels/paged_combat_log.jsx +++ b/src/components/panels/paged_combat_log.jsx @@ -29,27 +29,27 @@ class PagedCombatLog extends React.Component { return (
When
-Attacker
-Defender
-Attacking Force
-Defending Force
-Undefended?
-Victor
-Gold Transferred
-Victor Casualties
+When
+Attacker
+Defender
+Attacking Force
+Defending Force
+Undefended?
+Victor
+Gold Transferred
+Victor Casualties
{ this.parseDate(this.state[key].eventTime) }
-{this.state[key].attackingUnits}
-{this.state[key].defendingUnits}
-{this.state[key].undefended ? 'yes' : 'no'}
-{this.state[key].victor}
-{this.state[key].spoilsGold}
-{this.state[key].casualtiesVictor}
+{ this.parseDate(this.state[key].eventTime) }
+{this.state[key].attackingUnits}
+{this.state[key].defendingUnits}
+{this.state[key].undefended ? 'yes' : 'no'}
+{this.state[key].victor}
+{this.state[key].spoilsGold}
+{this.state[key].casualtiesVictor}