How to edit width of navigation drawer
Change the width of the navigation drawer with the custom-drawer-style filter.
Steps
- Open index.js of your theme file Eg:
packages/your-theme/src/index.js - Add the following code to the file
import { addFilter } from '@appmaker-xyz/core';
// packages/your-package/index.js
export function activate(params) {
addFilter(
'custom-drawer-style',
'custom-drawer-width-style',
(oldStyle) => {
return {
...oldStyle,
width: '80%',
};
},
);
}- Replace
80%with your desired width percentage