mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-07 13:22:26 +02:00
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:
parent
46ecda748d
commit
7b3daee102
2 changed files with 13 additions and 0 deletions
|
@ -13,6 +13,8 @@ import Heading from '@theme/Heading';
|
||||||
import Details from '@theme/Details';
|
import Details from '@theme/Details';
|
||||||
import type {MDXComponentsObject} from '@theme/MDXComponents';
|
import type {MDXComponentsObject} from '@theme/MDXComponents';
|
||||||
|
|
||||||
|
import './styles.css';
|
||||||
|
|
||||||
// MDX elements are wrapped through the MDX pragma
|
// MDX elements are wrapped through the MDX pragma
|
||||||
// In some cases (notably usage with Head/Helmet) we need to unwrap those elements.
|
// In some cases (notably usage with Head/Helmet) we need to unwrap those elements.
|
||||||
function unwrapMDXElement(element: ReactElement) {
|
function unwrapMDXElement(element: ReactElement) {
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue