WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#31599 new defect (bug)

White space between visual editor content and status bar

Reported by: iseulde Owned by:
Milestone: Future Release Priority: low
Severity: normal Version: 4.1
Component: Editor Keywords: has-patch needs-testing
Focuses: javascript Cc:

Description

Happens when the 'path' is hidden.

Attachments (2)

Screen Shot 2015-03-11 at 18.52.09.png (23.8 KB) - added by iseulde 3 years ago.
31599.patch (1.1 KB) - added by tyxla 3 years ago.
Replace visibility:hidden with display:none to remove the white space when path is hidden.

Download all attachments as: .zip

Change History (8)

#1 @DrewAPicture
3 years ago

@iseulde: Care to make a patch for this issue?

#2 @samuelsidler
3 years ago

  • Priority changed from normal to low

This ticket was mentioned in Slack in #core by drew. View the logs.


3 years ago

#4 @DrewAPicture
3 years ago

  • Milestone changed from 4.2 to Future Release

It sounds like the solution is more complicated than a simple style change to remove the white bar. Pretty low priority, punting.

#5 @tyxla
3 years ago

Is there a reason why visibility: hidden is used here instead of display: none?

Since visibility: hidden is used, the space for the path bar is preserved even when it is hidden. This is what prevents the visual editor to expand and reach the status bar.

Why not just replace visibility: hidden with display: none? No further calculations need to be done IMHO. It seems to be working fine for me on multiple different tests. Here's a patch.

@tyxla
3 years ago

Replace visibility:hidden with display:none to remove the white space when path is hidden.

#6 @tyxla
3 years ago

  • Keywords has-patch needs-testing added; needs-patch removed
Note: See TracTickets for help on using tickets.