Make WordPress Core

Ticket #48691: fix-audio-block-alignment.1.diff

File fix-audio-block-alignment.1.diff, 558 bytes (added by kharisblank, 5 years ago)

My first attempt to patch this bug. Still need some testings.

  • src/wp-content/themes/twentytwenty/style.css

    diff --git src/wp-content/themes/twentytwenty/style.css src/wp-content/themes/twentytwenty/style.css
    index db208bc33f..a13c62e829 100644
    h2.entry-title { 
    29692969        width: 100%;
    29702970}
    29712971
     2972.wp-block-audio.aligncenter {
     2973  text-align: center;
     2974}
     2975
     2976.wp-block-audio.alignleft audio,
     2977.wp-block-audio.alignright audio {
     2978  width: auto;
     2979  min-width: 100%;
     2980  max-width: 100%;
     2981}
     2982
    29722983/* Block: Button ----------------------------- */
    29732984
    29742985.wp-block-button {