Joachim John Harris Joachim John Harris - 2 months ago 17
React JSX Question

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

I am currently working on this repo with my friend: https://github.com/openteach/openteach.

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.

Thanks.

Picture of bug:
Bug

Answer

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

body{
    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">
Comments