Issue #4026Opened December 22, 2021by johnkeel-thork0 reactions

BUG: Incorrect Padding on .gjs-devices-c

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome 96

Reproducible demo link

https://advhub.net/communities/admin/pageeditor2/

Describe the bug

How to reproduce the bug?

Code SnippetTEXT
1. Look at the devices-c div padding

<img width="223" alt="Screenshot 2021-12-22 at 10 05 35" src="https://user-images.githubusercontent.com/26764290/147075268-2e88d498-dcfc-4bb0-a70a-a5516c377129.png">


**What is the expected behavior?**

Should be contained in gjs-pn-devices-c.
Can be solved if you change padding from:
.gjs-devices-c {
    display: flex;
    align-items: center;
    padding: 3px; < ---- this is bad
}

Change to:
.gjs-devices-c {
    display: flex;
    align-items: center;
    padding: 2px 3px 3px 3px;
}



### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Answers (0)

No answers yet.

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.