WordPress.org

Make WordPress Core

Ticket #38515: 38515.3.patch

File 38515.3.patch, 999 bytes (added by davidakennedy, 4 years ago)

Updates to removes indents and add RTL styles.

  • src/wp-content/themes/twentyseventeen/rtl.css

     
    3333        padding-right: 3px;
    3434}
    3535
    36 ol {
    37         counter-reset: item;
    38 }
    39 
    40 ol li:before {
    41         left: auto;
    42         right: -1.5em;
    43 }
    44 
    4536li > ul,
    4637li > ol {
    4738        margin-left: 0;
  • src/wp-content/themes/twentyseventeen/style.css

     
    10911091}
    10921092
    10931093ol {
    1094         counter-reset: item;
     1094        list-style: decimal;
    10951095}
    10961096
    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;
    1108 }
    1109 
    11101097li > ul,
    11111098li > ol {
    11121099        margin-bottom: 0;