Opened 3 years ago
Closed 3 years ago
#58428 closed defect (bug) (fixed)
White space section under Navigation sidebar panel in mobile devices
| Reported by: | himshekhar07 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.3 |
| Component: | Editor | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
When I edit the page from the front side I get a white space section on the editor.
Issue recording: https://share.cleanshot.com/bjpYtXrR343312Y9WhSC
@media screen and (max-width:768px){
.edit-site-layout__sidebar>div{
height: fit-content;
}
}
Attachments (2)
Change History (8)
#2
@
3 years ago
- Component Themes → Bundled Theme
- Summary White space section in mobile devices in twenty twenty three theme → Twenty Twenty-Three: White space section in mobile devices
#3
@
3 years ago
This also happens with Twenty Twenty-Two and at least one other block theme. The empty div still has the full height with Gutenberg 15.8.1 active.
#4
@
3 years ago
The > div styles were added in GB46903 and the height was changed in GB47142. If the empty div is necessary to keep, the styles could be updated to > div:not(:empty).
Anyway, this is an editor UI issue, which would belong in the Gutenberg GitHub repository.
#5
@
3 years ago
This is also happened to me! Please have a look at the video:
[https://www.loom.com/share/977e58bbaae34bfe8ede41a4573ad401
Thank you!
Ruman Ahmed
@
3 years ago
panel without the Gutenberg plugin, scrolled down half-way to show both the panel and the space below
@
3 years ago
empty element does not appear when attempting to scroll below navigation panel with Gutenberg 15.9.1
#6
@
3 years ago
- Component Bundled Theme → Editor
- Keywords needs-patch removed
- Milestone Awaiting Review → 6.3
- Resolution → fixed
- Status new → closed
- Summary Twenty Twenty-Three: White space section in mobile devices → White space section under Navigation sidebar panel in mobile devices
The empty div is not below the navigation panel in Gutenberg 15.9.1, so I could not scroll to any blank space. It would be nice to locate exactly which change fixed the issue, but this seems to be completed.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This issue is coming from npm package
@wordpressIt can be fixed by adding the below css in npm package
@wordpress->edit-site->build-style->style.css in line number 2177.(Line number is 2177 is not strict to follow but for convention)
@media (max-width: 599px) { .edit-site-layout__sidebar > div:nth-child(2) { height: unset; } }