Skip to content

Commit 3c436c4

Browse files
author
Victor George
committed
Fixes #429 - replaced the .svg animation with .gif animation and scaled it down 50% to make sure on retina it'll look good.
1 parent 798b6a6 commit 3c436c4

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

src/components/LoadingIndicator/LoadingIndicator.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react'
33
require('./LoadingIndicator.scss')
44

55
const LoadingIndicator = () => {
6-
const backgroundImageUrl = { backgroundImage: `url(${require('./ripple.svg')})` }
6+
const backgroundImageUrl = { backgroundImage: `url(${require('./loader.gif')})` }
77

88
return (
99
<div
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.loading-indicator {
2-
height: 100px;
3-
width: 100px;
4-
margin: 150px auto;
5-
background-repeat: no-repeat;
6-
background-position: center;
2+
height: 80%;
3+
width: 100%;
4+
background: 50% 50% no-repeat;
5+
background-size: 70px 70px;
76
}
106 KB
Loading

src/components/LoadingIndicator/ripple.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)