Remove jumpiness from when conversions are loaded

This commit is contained in:
Uku Taht 2020-04-23 10:58:04 +03:00
parent 2db1289c92
commit 6de23e4b94

View File

@ -46,8 +46,8 @@ export default class Conversions extends React.Component {
render() {
if (this.state.loading) {
return (
<div className="w-full bg-white shadow-xl rounded p-4">
<div className="loading my-32 mx-auto"><div></div></div>
<div className="w-full bg-white shadow-xl rounded p-4" style={{height: '94px'}}>
<div className="loading my-2 mx-auto"><div></div></div>
</div>
)
} else if (this.state.goals) {