WordPress.org

Make WordPress Core

Changeset 39079


Ignore:
Timestamp:
11/01/2016 08:52:22 PM (5 years ago)
Author:
karmatosed
Message:

Twenty Seventeen: Fixes ul inside ol being wrongly ordered.

Now the listing displays correctly.

Props tg29359, Soean, laurelfulford, davidakennedy
Fixes #38515

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

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/rtl.css

    r39078 r39079  
    3232textarea {
    3333    padding-right: 3px;
    34 }
    35 
    36 ol {
    37     counter-reset: item;
    38 }
    39 
    40 ol li:before {
    41     left: auto;
    42     right: -1.5em;
    4334}
    4435
  • trunk/src/wp-content/themes/twentyseventeen/style.css

    r39078 r39079  
    10921092
    10931093ol {
    1094     counter-reset: item;
    1095 }
    1096 
    1097 ol li {
    1098     display: block;
    1099     position: relative;
    1100 }
    1101 
    1102 ol li:before {
    1103     content: counter(item) ".";
    1104     counter-increment: item;
    1105     font-weight: 600;
    1106     left: -1.5em;
    1107     position: absolute;
     1094    list-style: decimal;
    11081095}
    11091096
Note: See TracChangeset for help on using the changeset viewer.