diff options
| author | Kamran Ahmed <kamranahmed.se@gmail.com> | 2018-08-29 23:12:20 +0500 |
|---|---|---|
| committer | Kamran Ahmed <kamranahmed.se@gmail.com> | 2018-08-29 23:12:20 +0500 |
| commit | d9c8b135c0e4031cbf4c7590ed6d4c05b35a211e (patch) | |
| tree | e739694a3dbca413d4df909c7272b8ffc9dc560e /src/components/loader | |
| parent | Build and publish scripts (diff) | |
| download | githunt-d9c8b135c0e4031cbf4c7590ed6d4c05b35a211e.tar.gz | |
Solar icon fix
Diffstat (limited to '')
| -rw-r--r-- | src/components/loader/index.js | 3 | ||||
| -rw-r--r-- | src/components/loader/styles.css | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/components/loader/index.js b/src/components/loader/index.js index 6265059..8175c30 100644 --- a/src/components/loader/index.js +++ b/src/components/loader/index.js @@ -1,10 +1,11 @@ import React from 'react'; import './styles.css'; +import Solar from '../icons/solar'; const Loader = () => ( <div className="loading-indicator"> - <img src="/img/solar.svg" className='fa-spin' alt=".."/> + <Solar className='fa-spin'/> </div> ); diff --git a/src/components/loader/styles.css b/src/components/loader/styles.css index e270bc3..8d80c55 100644 --- a/src/components/loader/styles.css +++ b/src/components/loader/styles.css @@ -3,6 +3,7 @@ text-align: center; } -.loading-indicator img { +.loading-indicator svg { height: 85px; + width: 85px; } |
