Procházet zdrojové kódy

Making the timer properly centered

Kirk Trombley před 5 roky
rodič
revize
3060994b97
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      ui/src/components/round-timer.component.jsx

+ 1 - 1
ui/src/components/round-timer.component.jsx

@@ -35,7 +35,7 @@ class RoundTimer extends React.Component {
     const { remaining } = this.state;
     const { style } = this.props;
     return (
-      <div style={{ display: "flex", justifyContent: "center", ...style }}>
+      <div style={{ display: "flex", justifyContent: "center", alignItems: "center", ...style }}>
         {remaining > 0 ? <p>Time: {ms(remaining * 1000)}</p> : <p>Time's up!</p>}
       </div>
     );