diff --git a/src/components/Loading/Loading.tsx b/src/components/Loading/Loading.tsx index ac1ced11..a78de560 100644 --- a/src/components/Loading/Loading.tsx +++ b/src/components/Loading/Loading.tsx @@ -20,7 +20,7 @@ export class Loading extends React.PureComponent { render() { return (
- Loading ... +
); diff --git a/src/components/Loading/Spinner.svg.tsx b/src/components/Loading/Spinner.svg.tsx index fd9d73d8..9b4e0341 100644 --- a/src/components/Loading/Spinner.svg.tsx +++ b/src/components/Loading/Spinner.svg.tsx @@ -2,16 +2,11 @@ import * as React from 'react'; import styled, { keyframes } from '../../styled-components'; const _Spinner = (props: { className?: string; color: string }) => ( - - - - - - - - - + + + + ); const rotate = keyframes` @@ -23,14 +18,14 @@ const rotate = keyframes` `; export const Spinner = styled(_Spinner)` - animation: 2s ${rotate} linear infinite; - width: 50px; - height: 50px; + animation: 1.5s ${rotate} linear infinite; + width: 42px; + height: 42px; content: ''; display: inline-block; margin-left: -25px; - path { + path:not(#rotator) { fill: ${props => props.color}; } `;