-
How do we set max-width? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 1 reply
-
you can use css to override .ce-block__content and .ce-toolbar__content |
Beta Was this translation helpful? Give feedback.
-
this is not working for me. |
Beta Was this translation helpful? Give feedback.
-
Just open DOM debugger and find the classes you need to override. |
Beta Was this translation helpful? Give feedback.
-
Like @joel611 said. unset the default styles from these two classes
|
Beta Was this translation helpful? Give feedback.
-
How does this work exactly? I'm using NextJS, Material UI, and EditorJS together at the moment. As expected, I get the class names, I write CSS to over ride those, As expected, I see the CSS being properly loaded. Do I see the CSS is actually updated? No. I think my method is usually how CSS classes are over rided, no? |
Beta Was this translation helpful? Give feedback.
-
same as #1891 |
Beta Was this translation helpful? Give feedback.
-
I may have a solution. I used this css to make it 100%: |
Beta Was this translation helpful? Give feedback.
-
I know this is an old issue but is someone working with Nextjs and editorjs and have problem with max-width, just move css properties to global.css
peace |
Beta Was this translation helpful? Give feedback.
you can use css to override .ce-block__content and .ce-toolbar__content