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

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest