Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SSHOC
sshoc-marketplace-frontend
Commits
e527bc9a
Commit
e527bc9a
authored
Jan 06, 2021
by
Stefan Probst
Browse files
fix: ol not ul
parent
ef0061a6
Pipeline
#166305
passed with stage
in 4 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/modules/markdown/Mdx.tsx
View file @
e527bc9a
...
@@ -79,10 +79,10 @@ function List({ children, ...props }: ComponentPropsWithoutRef<'ul'>) {
...
@@ -79,10 +79,10 @@ function List({ children, ...props }: ComponentPropsWithoutRef<'ul'>) {
)
)
}
}
function
OrderedList
({
children
,
...
props
}:
ComponentPropsWithoutRef
<
'
u
l
'
>
)
{
function
OrderedList
({
children
,
...
props
}:
ComponentPropsWithoutRef
<
'
o
l
'
>
)
{
return
(
return
(
<
u
l
className
=
"pl-4 space-y-3 leading-loose list-decimal"
{
...
props
}
>
<
o
l
className
=
"pl-4 space-y-3 leading-loose list-decimal"
{
...
props
}
>
{
children
}
{
children
}
</
u
l
>
</
o
l
>
)
)
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment