aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-28 19:09:17 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit9ad0808cdc88b79d97178de756ffc6aa8e985868 (patch)
treea91b9d8788f9d8c85090c03da829757f68ccabf0 /vnext/src/components
parent416acd32c4fd435cd0f86805b40afbadb135b089 (diff)
fix content loader sizing
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/Spinner.js33
1 files changed, 17 insertions, 16 deletions
diff --git a/vnext/src/components/Spinner.js b/vnext/src/components/Spinner.js
index d5f3d561..db0c9460 100644
--- a/vnext/src/components/Spinner.js
+++ b/vnext/src/components/Spinner.js
@@ -3,21 +3,22 @@ import ContentLoader from "react-content-loader";
export default function Spinner(props) {
return (
- <ContentLoader
- height={160}
- speed={2}
- primaryColor="#f8f8f8"
- secondaryColor="#ecebeb"
- className="msg-cont"
- {...props}
- >
- <rect x="56" y="6" rx="0" ry="0" width="117" height="6.4" />
- <rect x="56" y="20" rx="0" ry="0" width="85" height="6.4" />
- <rect x="0" y="60" rx="0" ry="0" width="340" height="6.4" />
- <rect x="0" y="78" rx="0" ry="0" width="340" height="6.4" />
- <rect x="0" y="96" rx="0" ry="0" width="201" height="6.4" />
- <rect x="0" y="0" rx="0" ry="0" width="48" height="48" />
- <rect x="0" y="120" rx="0" ry="0" width="340" height="1" />
- </ContentLoader>
+ <div className="msg-cont">
+ <ContentLoader
+ height={160}
+ speed={2}
+ primaryColor="#f8f8f8"
+ secondaryColor="#ecebeb"
+ style={{ width: '400px', height: '160px' }}
+ {...props}>
+ <rect x="56" y="6" rx="0" ry="0" width="117" height="6.4" />
+ <rect x="56" y="20" rx="0" ry="0" width="85" height="6.4" />
+ <rect x="0" y="60" rx="0" ry="0" width="340" height="6.4" />
+ <rect x="0" y="78" rx="0" ry="0" width="340" height="6.4" />
+ <rect x="0" y="96" rx="0" ry="0" width="201" height="6.4" />
+ <rect x="0" y="0" rx="0" ry="0" width="48" height="48" />
+ <rect x="0" y="120" rx="0" ry="0" width="340" height="1" />
+ </ContentLoader>
+ </div>
)
} \ No newline at end of file