Make WordPress Core

Changeset 44380


Ignore:
Timestamp:
01/02/2019 01:46:26 AM (6 years ago)
Author:
laurelfulford
Message:

Twenty Fourteen: Correct video play button position.

A change to the MediaElement.js caused Twenty Fourteen's custom video play button to display in the top corner, rather than centered. This update returns it to its correct position.

Props mmaumio, celloexpressions.
Fixes #44664.

Location:
trunk/src/wp-content/themes/twentyfourteen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/css/editor-style.css

    r33418 r44380  
    629629    color: #000;
    630630    height: 36px;
    631     margin-left: -24px;
    632631    width: 48px;
    633632}
     
    638637    display: inline-block;
    639638    font: normal 32px/1.125 Genericons;
    640     position: absolute;
     639    position: relative;
    641640    top: 1px;
    642641    left: 10px;
  • trunk/src/wp-content/themes/twentyfourteen/style.css

    r44322 r44380  
    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}
     
    14161415    display: inline-block;
    14171416    font: normal 32px/1.125 Genericons;
    1418     position: absolute;
     1417    position: relative;
    14191418    top: 1px;
    14201419    left: 10px;
Note: See TracChangeset for help on using the changeset viewer.