Make WordPress Core


Ignore:
Timestamp:
11/23/2025 11:43:27 PM (12 months ago)
Author:
SergeyBiryukov
Message:

Twenty Nineteen: Correct center or right alignment for Download link in the File block.

Follow-up to [43808].

Props lakshyajeet, truptikanzariya, sabernhardt, sourabhjain, SirLouen, poojapadamad, SergeyBiryukov.
Fixes #59263.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

    r58959 r61284  
    805805                        }
    806806                }
     807
     808                &.aligncenter .wp-block-file__button {
     809                        margin-left: auto;
     810                        margin-right: auto;
     811                }
     812
     813                &.alignright .wp-block-file__button {
     814                        margin-left: auto;
     815                        margin-right: 0;
     816                }
    807817        }
    808818
Note: See TracChangeset for help on using the changeset viewer.