Issue #2960💬 AnsweredOpened August 17, 2020by jayeshmotwani0 reactions

The UI for Margin and Padding properties inside the sector

Quick answerby RJCAM

Hi @jayeshmotwani, wich version are you using? I've just copy/paste your code and it seems working as you expect like in your second image, not the first. I've also did it in the demo, works fine, the properties are organized with 2 prop in the same row. See below:

Read full answer below ↓

Question

Hello, I am creating a sector for just margin and padding with the code below: And the sector is created with Margin Properties as shown in below screenshot: As you could see, the properties are placed in the same row. I want them to be displayed as 2 properties only in a row. Please refer the below screenshot for more information: Thanks for your help.

Answers (3)

RJCAMAugust 17, 2020

Hi @jayeshmotwani, wich version are you using? I've just copy/paste your code and it seems working as you expect like in your second image, not the first. I've also did it in the demo, works fine, the properties are organized with 2 prop in the same row. See below:

jayeshmotwaniAugust 17, 2020

Hello @RJCAM,

Thanks for your reply. I am using version 0.16.18

jayeshmotwaniAugust 17, 2020

Ahhh! I just realized! It is because I increased the size of the panel!

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.