Skip to content

Commit

Permalink
[*] Better list style for ul/ol
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Feb 5, 2025
1 parent 4bcadf9 commit fcab31a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ declare module 'vue' {
NAvatar: typeof import('naive-ui')['NAvatar']
NButton: typeof import('naive-ui')['NButton']
NCard: typeof import('naive-ui')['NCard']
NCollapse: typeof import('naive-ui')['NCollapse']
NCollapseItem: typeof import('naive-ui')['NCollapseItem']
NDivider: typeof import('naive-ui')['NDivider']
NDrawer: typeof import('naive-ui')['NDrawer']
NDrawerContent: typeof import('naive-ui')['NDrawerContent']
Expand All @@ -37,6 +39,8 @@ declare module 'vue' {
NModal: typeof import('naive-ui')['NModal']
NNumberAnimation: typeof import('naive-ui')['NNumberAnimation']
NP: typeof import('naive-ui')['NP']
NQrCode: typeof import('naive-ui')['NQrCode']
NSkeleton: typeof import('naive-ui')['NSkeleton']
NSpace: typeof import('naive-ui')['NSpace']
NSpin: typeof import('naive-ui')['NSpin']
NStatistic: typeof import('naive-ui')['NStatistic']
Expand Down
5 changes: 3 additions & 2 deletions src/assets/markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@

.markdown-body ol,
.markdown-body ul {
margin: var(--base-size-4);
list-style-position: inside !important;
padding-left: 1rem !important;
margin-block: var(--base-size-4);
list-style: inside !important;
}

.markdown-body h1,
Expand Down

0 comments on commit fcab31a

Please sign in to comment.