Support

Solving

Minor CSS issue in media upload lightbox

Home Forums Backend Issues (wp-admin) Minor CSS issue in media upload lightbox

    • TripleM

    • August 7, 2013 at 10:00 am

    Hi,

    With ACF installed (ACF 4.2.0, WP 3.6, though probably existed earlier in both), there is a minor CSS bug in the media upload lightbox:

    The version on the right is with ACF installed. You’ll see the ‘Alignment’, ‘Link To’, and ‘Size’ labels are misaligned (the above fields also have a slightly bigger margin, but that’s unimportant).

    The CSS causing the incorrect margins seems to be:

    .media-modal .media-sidebar .setting span, 
    .media-modal .compat-item label span,
    .media-modal .media-sidebar .setting input, 
    .media-modal .media-sidebar .setting textarea,
    .media-modal .compat-item .field {
    	min-height: 0;
    	margin: 5px 0 0;
    }

    I assume this is for newly added media fields, but perhaps one of those targets is incorrect and causing the wrong margins.

    • Hi @TripleM

      Thanks for the bug report.

      I’ll add this to the to-do

      Cheers
      E

      • Hi @TripleM

        Thanks again for the bug report.

        This has been fixed and pushed to github

        Viewing 3 posts - 1 through 3 (of 3 total)

        Tagged: , ,

        You must be logged in to reply to this topic.