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?
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 ConductAnswers (0)
No answers yet.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #5263
BUG: Deleting a component without deleting its corresponding style, will adding new components later cause style conflicts?
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? latest version of Chrome Reproducible demo...
Issue #5346
BUG: Deleting a component without deleting its corresponding style
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? latest version of Chrome Reproducible demo...
Issue #6409
BUG: Cannot drag to move components on mobile
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v133 Reproducible demo link https:/...
Issue #4323
BUG: Performance issue while dragging component to canvas when you have 2k component on canvas
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Google Chrome Version 101.0.4951.41 (Officia...
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.