developer-portal-starter icon indicating copy to clipboard operation
developer-portal-starter copied to clipboard

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

Open davidscottturner opened this issue 3 years ago • 3 comments

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.

davidscottturner avatar Dec 18 '21 17:12 davidscottturner

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

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

export default FullWidthLayout;

# Your mdx here
...

RomanHotsiy avatar Dec 20 '21 06:12 RomanHotsiy

@davidscottturner did this FullWidthLayout help?

adamaltman avatar Jan 30 '22 02:01 adamaltman

using fullwidthlayout breaks < OpenApiResponse > element entirely

ali-cash avatar Aug 05 '22 15:08 ali-cash