Sidebar (edited 2022-11-15)

UI Components for Vue
Post Reply
tmlmt
Posts: 1
Joined: 15 Nov 2022, 05:02

15 Nov 2022, 05:13

Hello ! Using PrimeVue 3.18.1 with Nuxt 3, I would like to have a Sidebar to open and occupy the space right below my header, and not the entire left side of the screen.
The problem is that it seems that regardless of where I put my <Sidebar /> component, the generated <div> gets created at the end of the <body> and at its root: I'm therefore unable to use position: relative. Is there a possibility to obtain this behavior, or request this feature to be created by the PrimeVue project?

Thanks ! See below:

What I would like
Image

What I get
Image

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

14 Dec 2022, 15:46

Hello!

Could you send us a codesandbox link?

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests