wp/wp-includes/blocks/media-text/style.css
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
    38  */
    38  */
    39 /**
    39 /**
    40  * React Native specific.
    40  * React Native specific.
    41  * These variables do not appear to be used anywhere else.
    41  * These variables do not appear to be used anywhere else.
    42  */
    42  */
       
    43 /**
       
    44 *  Converts a hex value into the rgb equivalent.
       
    45 *
       
    46 * @param {string} hex - the hexadecimal value to convert
       
    47 * @return {string} comma separated rgb values
       
    48 */
    43 /**
    49 /**
    44  * Breakpoint mixins
    50  * Breakpoint mixins
    45  */
    51  */
    46 /**
    52 /**
    47  * Long content fade mixin
    53  * Long content fade mixin
   129   /*!rtl:end:ignore*/
   135   /*!rtl:end:ignore*/
   130 }
   136 }
   131 
   137 
   132 .wp-block-media-text__media img,
   138 .wp-block-media-text__media img,
   133 .wp-block-media-text__media video {
   139 .wp-block-media-text__media video {
       
   140   height: auto;
   134   max-width: unset;
   141   max-width: unset;
   135   width: 100%;
   142   width: 100%;
   136   vertical-align: middle;
   143   vertical-align: middle;
   137 }
   144 }
   138 
   145