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
1 change: 1 addition & 0 deletions apps/vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Fixed a regression where bash cell execution does not work (<https://github.com/quarto-dev/quarto/pull/826>).
- Fixed cell formatting sometimes deleting code at the end of the cell (<https://github.com/quarto-dev/quarto/pull/754>).
- Removed visual/source toggle button from Positron editor action bar. You can still switch between editing modes using the command palette or context menu (<https://github.com/quarto-dev/quarto/pull/896>).
- Improved checkbox list item appearance in the Visual Editor (<https://github.com/quarto-dev/quarto/pull/893>).
- Fix columns2 and columns3 snippets leaving `:::` in the document (<https://github.com/quarto-dev/quarto/pull/899>).
- Add fragment snippet (<https://github.com/quarto-dev/quarto/pull/901>).

Expand Down
30 changes: 26 additions & 4 deletions packages/editor/src/nodes/list/list-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,21 @@
flex: 0 1 auto;
margin-top: 3px;
margin-right: 7px;
height: 13px;
}

.ProseMirror li .list-item-content {
flex: 1 1 auto;
}

.ProseMirror li ul,
.ProseMirror li ul,
.ProseMirror li ol {
margin-bottom: 1em;
}

.ProseMirror ol[data-tight] li ul,
.ProseMirror ol[data-tight] li ol,
.ProseMirror ul[data-tight] li ul,
.ProseMirror ol[data-tight] li ul,
.ProseMirror ol[data-tight] li ol,
.ProseMirror ul[data-tight] li ul,
.ProseMirror ul[data-tight] li ol {
margin-bottom: 0;
}
Expand All @@ -51,6 +52,27 @@
margin-bottom: 0.3rem;
}

.ProseMirror ol > li[data-checked],
.ProseMirror ul > li[data-checked]
{
list-style-type: none;
margin-left: -20px;
margin-bottom: 1em;
}

.ProseMirror ol[data-tight] > li[data-checked],
.ProseMirror ul[data-tight] > li[data-checked]
{
list-style-type: none;
margin-left: -20px;
margin-bottom: 0.3rem;
}
.ProseMirror ol > li[data-checked] > .list-item-container > .list-item-content > p,
.ProseMirror ul > li[data-checked] > .list-item-container > .list-item-content > p
{
margin-bottom: 0rem;
}

/* Example Lists */

.ProseMirror ol[data-example] {
Expand Down