Joachim John Harris Joachim John Harris - 11 months ago 61
React JSX Question

How to make fullscreen picture in a meteor/react setup?

I am currently working on this repo with my friend:

I have this bug that I can not fix. I have tried everything, but nothing seems to work?!

I have attached a picture of the bug.

Any help/ideas is appreciated.


Picture of bug:

Answer Source

Set the background on the body, and you won't have a gap any more

    background: url(assets/images/stardust.png);

The sum of the heights doesn't fill the whole page, and you only have the background on the <div class="App_component">

The other way is to set that class on the body tag:

<body class="App_component">