I’m making a dashboard and I’d like it to fit exactly to the size of the screen. Like this:
But there is a whitespace at the bottom (after the blue footer). How do I remove it?
I’ve already tried to remove the margins and padding, but it didn’t work.
Here it is the code:
bottom = html.Footer(
style={
‘height’: f’{bottom_height}vh’,
‘margin’: ‘0px’,
‘padding’: ‘0px’,
‘background-color’: ‘RGBA(16,42,90,1)’
}
)
app.layout = html.Div(
[
top,
content,
bottom
],
style={
‘overflow’: ‘hidden’,
‘width’: ‘100%’,
‘height’: ‘100%’,
‘margin’: ‘0px’,
‘padding’: ‘0px’,
}
)
What am I missing?