Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Feature Request - Allow ability to set section to 100% width #169

Open
davidscottturner opened this issue Dec 18, 2021 · 3 comments
Open

Comments

@davidscottturner
Copy link

I would like the ability to set the section to have 100% width for mdx files. This allows me to have better styling control over the page. At the moment, the width on the section has large white spaces. This also means I can have a bottom border on a box that spans the full width of the section that makes it look like a horizontal rule.

@RomanHotsiy
Copy link
Member

Could you try exporting FullWidthLayout at the top of mdx file?

import { FullWidthLayout } from '@redocly/developer-portal/ui';

export default FullWidthLayout;

# Your mdx here
...

@adamaltman
Copy link
Member

@davidscottturner did this FullWidthLayout help?

@ali-cash
Copy link

ali-cash commented Aug 5, 2022

using fullwidthlayout breaks < OpenApiResponse > element entirely

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants