Edit page

Main Container

Extended main container now allows editing of max width and content alignment.

Config

Inside doczrc.js file there is a themeConfig.mainContainer option:

//doczrc.js
export default {
themeConfig: {
mainContainer: {
fullscreen: true,
align: 'center',
},
},
};

Options

NameTypeDefaultDescription
fullscreenbooleanfalseSpecify if the main container should be fullscreen.
align'left' | 'right' | 'center''center'Specify which way should the content be aligned.