Element on top of v-app-bar #20649
Unanswered
Lucky-Strike1695
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'd like to know the correct way of placing a header above v-app-bar.
The v-app-bar component is designed - by default - to be the first element rendered, on top of the page/viewport.
On mobile app, I'm all good with that. But on web version for large screens, I want a header to appear above, and then have the v-app-bar below.
I managed to do so by 2 different ways, but I'm not sure that these are correct way of doing so.
Method 1 : width header outside of
Method 2 : inside of v-app width CSS styling
Then, in main.css :
I tried to cleanup the code to make it lighter, I hope I did not remove anything necessary for it to work.
On my setup, it does work as intented (even though it f*cks up the footer by messing its height, for whatever reason).
So, what it the best/cleaner way to achieve that ?
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions