Skip to content

Commit

Permalink
fix(Loader): use px instead of rem for Firefox support (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-tea authored and Thomas Roux committed Apr 1, 2019
1 parent d9ece6c commit 39bafc6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ exports[`<DatePicker /> Range should render without a problem 1`] = `
class="c10"
>
<div
class="c12"
class="c13"
>
22
</div>
Expand Down Expand Up @@ -1348,7 +1348,7 @@ exports[`<DatePicker /> Simple should render without a problem 1`] = `
class="c10"
>
<div
class="c12"
class="c13"
>
22
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/Loader/__tests__/__snapshots__/Loader.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ exports[`<Loader /> should render without a problem 1`] = `
<svg
aria-hidden="true"
class="c0"
height="2rem"
height="20px"
viewBox="0 0 50 50"
width="2rem"
width="20px"
>
<circle
class="path"
Expand Down
4 changes: 2 additions & 2 deletions src/Loader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ Loader.propTypes = {
Loader.defaultProps = {
className: '',
color: Theme.palette.primary.default,
height: '2rem',
width: '2rem',
height: '20px',
width: '20px',
};

export default styled(Loader)`
Expand Down

0 comments on commit 39bafc6

Please sign in to comment.