diff options
author | Vitaly Takmazov | 2019-04-04 21:25:45 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:54 +0300 |
commit | 41df2af75da0d4c1d76dffc98fdc55b31cc39776 (patch) | |
tree | 80b2706c4e2feaf87d56df89db6937297109f7ab /vnext/src/components/Spinner.js | |
parent | efdb2c2665125b6ff09da5bf35b4396ef6f028f9 (diff) |
Message styling
Diffstat (limited to 'vnext/src/components/Spinner.js')
-rw-r--r-- | vnext/src/components/Spinner.js | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/vnext/src/components/Spinner.js b/vnext/src/components/Spinner.js index c1d42db4..e866369f 100644 --- a/vnext/src/components/Spinner.js +++ b/vnext/src/components/Spinner.js @@ -4,19 +4,21 @@ import ContentLoader from 'react-content-loader'; function Spinner(props) { return ( <div className="msg-cont"> - <ContentLoader - speed={2} - primaryColor="#f8f8f8" - secondaryColor="#ecebeb" - {...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="270" height="6.4" /> - <rect x="0" y="78" rx="0" ry="0" width="270" 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="270" height="1" /> - </ContentLoader> + <div className="msg-txt"> + <ContentLoader + speed={2} + primaryColor="#f8f8f8" + secondaryColor="#ecebeb" + {...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="270" height="6.4" /> + <rect x="0" y="78" rx="0" ry="0" width="270" 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="270" height="1" /> + </ContentLoader> + </div> </div> ); } |