Navbar height is not aligning with page bottom #1717
Replies: 3 comments 1 reply
-
If we can add position fixed property to side nav and topnav we can solve this issue. |
Beta Was this translation helpful? Give feedback.
-
This should be already supported by Wave (you can use any valid CSS for width/height), but I don't see how this would solve your issue. Note that we already have predefined app templates that you can use and maybe achieve what you want for free, e.g. this one What are you trying to achieve? Making the top and side nav fixed and scroll only the content? |
Beta Was this translation helpful? Give feedback.
-
I don't think so. Does it work if you set it within browser devtools?
pip install h2o-wave
wave init
(pick `App with header & sidebar + navigation`)
wave run app Or if you have Wave IDE extension installed -
This may require a few additional tweaks, will get back to you once I have time for it. |
Beta Was this translation helpful? Give feedback.
-
In the following code, I have set nav bar height as
95%
. The problem is nav bar height is changing when the card count is increased. Setting a fixed ascalc(100vh-50px)
won't resolve this as it will also cause to add a space between nav bar bottom and the page bottom.Percentage height:
Screen.Recording.2022-11-23.at.15.55.28.mov
Fixed height ( calc(100vh-50px) ):
Concerns:
max(95%, calc(100vh))
for navbar height then that would solve this issue. Refer: https://stackoverflow.com/a/61085200/3304903flex_card
, but it is in the experimental stage. I suppose it is intended for this type of case.cc: @dulajra @shihan007 @Nayananga
Beta Was this translation helpful? Give feedback.
All reactions