Skip to content

Commit

Permalink
fix: Fix the height of html,body to 100%
Browse files Browse the repository at this point in the history
The bar is injecting html,body{height:auto} which is messing with
the height set by the home CSS. We can see this bug due to a
change of order in the CSS. Normally the bar should not inject
this height:auto (see cozy/cozy-bar#705)
but at the moment to solve the problem, !important is needed
  • Loading branch information
ptbrowne committed Oct 2, 2020
1 parent 2744eb9 commit 71e6179
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/styles/app.styl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
// overriding the general layout to allow a sticky footer
html,
body
height 100%
// TODO Remove the !important when https://github.com/cozy/cozy-bar/issues/705
// has been solved
height 100% !important
+medium-screen()
height 100%
height 100% !important

main > [role=main].u-flex
display flex
Expand Down

0 comments on commit 71e6179

Please sign in to comment.