grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

FEAT: option for responsive design

Open micker opened this issue 6 years ago • 4 comments

hello i am not sure its not already implement but i didn't find where => with grap we can change display for check responsive option but we can't change option for specific device ? like change size of block on smartphone exemple image what do you think about this ?

micker avatar Sep 30 '20 20:09 micker

@micker If I'm understanding you correctly, then this is already implemented, when you change the styles of a component on a given device, a media query will be used.

You can see that on the demo page: https://grapesjs.com/demo.html

You can change the device to mobile, change the width of something and go back to desktop. The change is only applied for the mobile device. You can click on the view code icon at the top, scroll down to the bottom and you will see the media queries.

MartinPutz avatar Oct 02 '20 22:10 MartinPutz

Ah cool

micker avatar Oct 03 '20 05:10 micker

@MartinPutz I have implemented the responsive feature as shown in the getting started guide but when I click on the mobile icon, the layout is only squished. (The two-column layout does not change to two-row. Only the width is reduced) Can you pls help me if you have worked on the responsive design?

theSC0RP avatar Oct 21 '20 13:10 theSC0RP

This Option is Not available in Grapesjs MJML right ?

RakulAgn avatar Oct 31 '23 04:10 RakulAgn