mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2024-11-10 02:28:02 +00:00
Removed unnecessary JS hack for nested list
This commit is contained in:
parent
d75ffc78ac
commit
0e76b5abef
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1479,10 +1479,6 @@ is the very first element in the post content */
|
||||
box-shadow: 0 2px 6px -2px rgba(0,0,0,.1), 0 0 1px rgba(0,0,0,.4);
|
||||
}
|
||||
|
||||
.gh-content .kg-nested-list-item {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.gh-content ol ol li {
|
||||
list-style-type: lower-alpha;
|
||||
}
|
||||
|
@ -1,10 +0,0 @@
|
||||
(function () {
|
||||
const content = document.querySelector('.gh-content');
|
||||
if (!content) return;
|
||||
|
||||
content.querySelectorAll('ul li, ol li').forEach(function (item) {
|
||||
if (item.querySelector('ul, ol')) {
|
||||
item.classList.add('kg-nested-list-item');
|
||||
}
|
||||
});
|
||||
})();
|
Loading…
Reference in New Issue
Block a user