Issue with responsive design.
Question
When I switch to the mobile view, the elements on the screen are just squeezed. (I am using the grapesjs-blocks-basic plugin)
In the screenshots below, a have a column with 2 cells. I expect it to be converted to rows in the mobile view <br/>
<hr/>
<br>
The code for the deviceManager is:
deviceManager: {
devices: [{
name: 'Desktop',
width: '', // default size
}, {
name: 'Mobile',
width: '400px', // this value will be used on canvas width
widthMedia: '480px', // this value will be used in CSS @media
}]
},
Answers (2)
Try using flexGrid
@Ju99ernaut Thank you so much. Using flexGrid solves the issue.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3515
BUG: gjs-selected Style is Hardcoded
This definition: https://github.com/artf/grapesjs/blob/88249c38577852dc3c42047356a70a12066ee6ca/src/canvas/view/FrameView.js#L303-L306 is a...
Issue #3130
[Question] Standard approach in slight restructuring the HTML toolbar & badge
Version: 0.15.10 This question is intended to validate if there is a proper way to extend the current https://github.com/artf/grapesjs/blob...
Issue #707
Using Gridstack.js in Grapesjs
Hello @artf , Came across a plugin which can be used in grapesjs for grid resizable and it is complete responsive have a look and please te...
Issue #1248
Appending a button inside the default (code view) modal.
This is not actually an issue. I would like to add a button inside the original code view modal, it's like zip download button that @artf a...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.