page-content component should allow for fluid container or responsive containers

Created on 3 March 2024, 10 months ago
Updated 21 March 2024, 9 months ago

Bootstrap allows us to use different containers (https://getbootstrap.com/docs/5.3/layout/containers). But currently, page-content component twig template (https://git.drupalcode.org/project/radix/-/blob/6.0.x/components/page-co...) hardcodes the container class for page.header and page.content regions, which can be problematic e.g. when using the layout builder for the landing page layout.

I believe it makes sense to create a prop for this, which would allow fr any value supported by BS5 and "none", which would remove the wrapper div altogether.

I would like to work on this, but I'm not sure if I will be able to do this soon.

Feature request
Status

Fixed

Version

6.0

Component

Code

Created by

🇨🇿Czech Republic milos.kroulik

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024