mirror of
				https://github.com/ZetaKebab/kesper.git
				synced 2025-11-03 23:59:49 +00:00 
			
		
		
		
	Removed unnecessary JS hack for nested list
This commit is contained in:
		
										
											
												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);
 | 
					    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 {
 | 
					.gh-content ol ol li {
 | 
				
			||||||
    list-style-type: lower-alpha;
 | 
					    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');
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    });
 | 
					 | 
				
			||||||
})();
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user