Make WordPress Core

Changeset 50261


Ignore:
Timestamp:
02/09/2021 03:42:43 AM (4 years ago)
Author:
peterwilsoncc
Message:

Twenty Twenty-One: Adapt vertical buttons to text length.

Display vertically aligned buttons as inline elements.

Props poena, paaljoachim, hellofromTonya, jeroenrotty, rolfsiebers.
Fixes #52432.

Location:
trunk/src/wp-content/themes/twentytwentyone
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/assets/css/ie-editor.css

    r50260 r50261  
    392392    border-radius: 0;
    393393    cursor: pointer;
    394     display: block;
    395394    font-weight: 500;
    396395    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
     
    890889    border-radius: 0;
    891890    cursor: pointer;
    892     display: block;
    893891    font-weight: 500;
    894892    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
     
    23132311    border-radius: 0;
    23142312    cursor: pointer;
    2315     display: block;
    23162313    font-weight: 500;
    23172314    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  • trunk/src/wp-content/themes/twentytwentyone/assets/css/ie.css

    r50260 r50261  
    22482248    border-radius: 0;
    22492249    cursor: pointer;
    2250     display: block;
    22512250    font-weight: 500;
    22522251    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
     
    22612260    border-radius: 0;
    22622261    cursor: pointer;
    2263     display: block;
    22642262    font-weight: 500;
    22652263    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
     
    22742272    border-radius: 0;
    22752273    cursor: pointer;
    2276     display: block;
    22772274    font-weight: 500;
    22782275    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
     
    22872284    border-radius: 0;
    22882285    cursor: pointer;
    2289     display: block;
    22902286    font-weight: 500;
    22912287    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
     
    23002296    border-radius: 0;
    23012297    cursor: pointer;
    2302     display: block;
    23032298    font-weight: 500;
    23042299    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
     
    23132308    border-radius: 0;
    23142309    cursor: pointer;
    2315     display: block;
    23162310    font-weight: 500;
    23172311    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
     
    23262320    border-radius: 0;
    23272321    cursor: pointer;
    2328     display: block;
    23292322    font-weight: 500;
    23302323    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  • trunk/src/wp-content/themes/twentytwentyone/assets/css/style-editor.css

    r50260 r50261  
    532532    border-radius: var(--button--border-radius);
    533533    cursor: pointer;
    534     display: block;
    535534    font-weight: var(--button--font-weight);
    536535    font-family: var(--button--font-family);
     
    884883    border-radius: var(--button--border-radius);
    885884    cursor: pointer;
    886     display: block;
    887885    font-weight: var(--button--font-weight);
    888886    font-family: var(--button--font-family);
     
    18231821    border-radius: var(--button--border-radius);
    18241822    cursor: pointer;
    1825     display: block;
    18261823    font-weight: var(--button--font-weight);
    18271824    font-family: var(--button--font-family);
  • trunk/src/wp-content/themes/twentytwentyone/assets/sass/02-tools/mixins.scss

    r49987 r50261  
    2424    border-radius: var(--button--border-radius);
    2525    cursor: pointer;
    26     display: block;
    2726    font-weight: var(--button--font-weight);
    2827    font-family: var(--button--font-family);
  • trunk/src/wp-content/themes/twentytwentyone/style-rtl.css

    r50260 r50261  
    17191719    border-radius: var(--button--border-radius);
    17201720    cursor: pointer;
    1721     display: block;
    17221721    font-weight: var(--button--font-weight);
    17231722    font-family: var(--button--font-family);
  • trunk/src/wp-content/themes/twentytwentyone/style.css

    r50260 r50261  
    17291729    border-radius: var(--button--border-radius);
    17301730    cursor: pointer;
    1731     display: block;
    17321731    font-weight: var(--button--font-weight);
    17331732    font-family: var(--button--font-family);
Note: See TracChangeset for help on using the changeset viewer.