WordPress.org

Make WordPress Core

Ticket #38515: 38515.patch

File 38515.patch, 551 bytes (added by Soean, 4 years ago)

Resets the ol list style for nested ul

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

     
    10761076        position: relative;
    10771077}
    10781078
     1079ol ul li {
     1080        display: list-item;
     1081}
     1082
    10791083ol li:before {
    10801084        content: counter(item) ".";
    10811085        counter-increment: item;
     
    10841088        position: absolute;
    10851089}
    10861090
     1091ol ul li:before {
     1092        content: '';
     1093}
     1094
    10871095li > ul,
    10881096li > ol {
    10891097        margin-bottom: 0;