Support

Account

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

Solving

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.

    • Elliot

    • August 7, 2013 at 3:08 pm

    Hi @triplem

    Thanks for the bug report.

    I’ll add this to the to-do

    Cheers
    E

    • Elliot

    • August 11, 2013 at 1:49 pm

    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)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.