Redocly / developer-portal-starter

Starter template for the Redocly developer portal
https://redoc.ly
Other
64 stars 101 forks source link

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

Open davidscottturner opened 2 years ago

davidscottturner commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

@davidscottturner did this FullWidthLayout help?

ali-cash commented 1 year ago

using fullwidthlayout breaks < OpenApiResponse > element entirely