fix(theme-classic): reset default style for task lists (#5643)

* fix(theme-classic): fix markdown list style

* fix(theme-classic): change style for consistency

Co-authored-by: Ekaterina Mozheiko <emojeyko@sberhealth.ru>
This commit is contained in:
Ekaterina Mozheiko 2021-10-04 06:15:10 +07:00 committed by GitHub
parent 46ecda748d
commit 7b3daee102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View file

@ -13,6 +13,8 @@ import Heading from '@theme/Heading';
import Details from '@theme/Details';
import type {MDXComponentsObject} from '@theme/MDXComponents';
import './styles.css';
// MDX elements are wrapped through the MDX pragma
// In some cases (notably usage with Head/Helmet) we need to unwrap those elements.
function unwrapMDXElement(element: ReactElement) {

View file

@ -0,0 +1,11 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
ul.contains-task-list {
padding-left: 0;
list-style: none;
}