Make WordPress Core

Ticket #44664: video_icon_alignment.diff

File video_icon_alignment.diff, 536 bytes (added by mmaumio, 6 years ago)

Removed the margin from the .mejs-overlay-button for both hentry and widget as it was misaligning the icon from being centered vertically and horizontally. Changed the icon position to relative instead of absolute which the issue creator advised as well.

  • style.css

     
    14051405        box-shadow: 1px 1px 1px rgba(0,0,0,.8);
    14061406        color: #000;
    14071407        height: 36px;
    1408         margin: -28px 0 0 -24px; /* Keep centered on video (container includes visible controls bar) */
    14091408        width: 48px;
    14101409}
    14111410
     
    14151414        content: '\f452';
    14161415        display: inline-block;
    14171416        font: normal 32px/1.125 Genericons;
    1418         position: absolute;
     1417        position: relative;
    14191418        top: 1px;
    14201419        left: 10px;
    14211420}