Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions apps/staged/src/lib/features/notes/NoteModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,22 @@
padding-left: 1.5em;
}

.markdown-content :global(ul) {
list-style-type: disc;
}

.markdown-content :global(ol) {
list-style-type: decimal;
}

.markdown-content :global(ul ul) {
list-style-type: circle;
}

.markdown-content :global(ul ul ul) {
list-style-type: square;
}

.markdown-content :global(li) {
margin: 0.25em 0;
}
Expand Down
16 changes: 16 additions & 0 deletions apps/staged/src/lib/features/sessions/SessionModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2110,6 +2110,22 @@
padding-left: 1.5em;
}

.markdown-content :global(ul) {
list-style-type: disc;
Comment on lines +2113 to +2114

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve checkbox task-list markers

When markdown contains a GFM task list such as - [ ] todo, the modal renderers run marked with gfm: true and the sanitizer explicitly allows checkbox input tags, so those lists render as checkbox tasks. This blanket ul marker rule also applies to the task-list container, making those items show both a disc bullet and a checkbox in session/note markdown; please suppress the list marker for checkbox task-list items while keeping bullets for normal unordered lists.

Useful? React with 👍 / 👎.

}

.markdown-content :global(ol) {
list-style-type: decimal;
}

.markdown-content :global(ul ul) {
list-style-type: circle;
}

.markdown-content :global(ul ul ul) {
list-style-type: square;
}

.markdown-content :global(li) {
margin: 0.25em 0;
}
Expand Down