Skip to content
Permalink
Browse files

Twenty Seventeen: Remove unnecessary `ol` styles from editor.

Twenty Seventeen was designed with bolded numbers for its ordered list styles. This was removed from the theme prior to launch, but it was left in the editor styles, so it needed to be removed there, too.

Props mmaumio, edpittol.
Fixes #44775.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44203 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
laurelfulford committed Dec 14, 2018
1 parent 5853c65 commit 935fff4ab3d0b4cfe567e2052f166939d5820435
Showing with 0 additions and 17 deletions.
  1. +0 −17 src/wp-content/themes/twentyseventeen/assets/css/editor-style.css
@@ -232,23 +232,10 @@ ul {
list-style: disc;
}

ol {
counter-reset: item;
}

ol > li {
display: block;
position: relative;
}

ol > li:before {
content: counter(item);
counter-increment: item;
font-weight: 800;
left: -1.5em;
position: absolute;
}

li > ul,
li > ol {
margin-bottom: 0;
@@ -580,10 +567,6 @@ object {
text-align: right;
}

.rtl ol {
counter-reset: item;
}

.rtl ol > li:before {
left: auto;
right: -1.5em;

0 comments on commit 935fff4

Please sign in to comment.
You can’t perform that action at this time.