aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/ServerStats.tsx
diff options
context:
space:
mode:
authoreperelm2 <emily_perelman@brown.edu>2023-07-19 11:18:42 -0400
committereperelm2 <emily_perelman@brown.edu>2023-07-19 11:18:42 -0400
commit5df124f1c935569dd10d7ae462ded03452dfe754 (patch)
tree69eb61f279f88514d92eb58b7e9be114c8939fa6 /src/client/util/ServerStats.tsx
parent4929d8b562c4f6300053cfd7d9583106df75b221 (diff)
parentd8fbab4e085ce044648acd69829a99b967839bf8 (diff)
Merge branch 'master' into secondpropertiesmenu-emily
Diffstat (limited to 'src/client/util/ServerStats.tsx')
-rw-r--r--src/client/util/ServerStats.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/util/ServerStats.tsx b/src/client/util/ServerStats.tsx
index b6aa4d95a..6a6ec158e 100644
--- a/src/client/util/ServerStats.tsx
+++ b/src/client/util/ServerStats.tsx
@@ -4,6 +4,8 @@ import * as React from 'react';
import { MainViewModal } from '../views/MainViewModal';
import './SharingManager.scss';
import { PingManager } from './PingManager';
+import { StrCast } from '../../fields/Types';
+import { Doc } from '../../fields/Doc';
@observer
export class ServerStats extends React.Component<{}> {
@@ -44,7 +46,7 @@ export class ServerStats extends React.Component<{}> {
display: "flex",
height: 300,
width: 400,
- background: "black",
+ background: StrCast(Doc.UserDoc().userBackgroundColor),
opacity: 0.6}}>
<div style={{width: 300,height: 100,margin: "auto",display: "flex",flexDirection: "column"}}>
{PingManager.Instance.IsBeating ? 'The server connection is active' :