aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/LoadingBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-09-10 16:32:41 -0400
committerbobzel <zzzman@gmail.com>2023-09-10 16:32:41 -0400
commit06b48b08425972d4c0ae57615173d70d12aeb5bd (patch)
tree70485ab7a2caf01327ecc705a3b3e73d7f163bf9 /src/client/views/nodes/LoadingBox.tsx
parent86db8585a6c82129ec009e4ca5ef033ed0d6f886 (diff)
once more
Diffstat (limited to 'src/client/views/nodes/LoadingBox.tsx')
-rw-r--r--src/client/views/nodes/LoadingBox.tsx10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/client/views/nodes/LoadingBox.tsx b/src/client/views/nodes/LoadingBox.tsx
index 4a030ff66..bdc074e0c 100644
--- a/src/client/views/nodes/LoadingBox.tsx
+++ b/src/client/views/nodes/LoadingBox.tsx
@@ -58,10 +58,14 @@ export class LoadingBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
render() {
return (
<div className="loadingBoxContainer" style={{ background: !this.rootDoc.loadingError ? '' : 'red' }}>
- <div className="textContainer">
+ <div className="loadingBox-textContainer">
<span className="loadingBox-title">{StrCast(this.rootDoc.title)}</span>
- <p className="headerText">{StrCast(this.rootDoc.loadingError, 'Loading ' + (this.progress.replace('[download]', '') || '(can take several minutes)'))}</p>
- {this.rootDoc.loadingError ? null : <ReactLoading type="spinningBubbles" color={'blue'} height={100} width={100} />}
+ <p className="loadingBox-headerText">{StrCast(this.rootDoc.loadingError, 'Loading ' + (this.progress.replace('[download]', '') || '(can take several minutes)'))}</p>
+ {this.rootDoc.loadingError ? null : (
+ <div className="loadingBox-spinner">
+ <ReactLoading type="spinningBubbles" color="blue" height={100} width={100} />
+ </div>
+ )}
</div>
</div>
);