Skip to content

Commit

Permalink
Fix #753 offset in dataview lists
Browse files Browse the repository at this point in the history
  • Loading branch information
kepano committed Jun 16, 2024
1 parent 330cd0f commit 92f1193
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 25 deletions.
15 changes: 9 additions & 6 deletions Minimal.css
Original file line number Diff line number Diff line change
Expand Up @@ -5033,21 +5033,21 @@ body #cMenuModalBar button.cMenuCommandItem:hover {
--list-spacing: 0;
}
.dataview-inline-lists .markdown-source-view .dataview-ul li:not(:last-child):after,
.dataview-inline-lists .markdown-source-view .dataview-ul li:not(:last-child):after,
.dataview-inline-lists .markdown-source-view .dataview-ol li:not(:last-child):after,
.dataview-inline-lists .markdown-preview-view .dataview-ul li:not(:last-child):after,
.dataview-inline-lists .markdown-preview-view .dataview-ul li:not(:last-child):after {
.dataview-inline-lists .markdown-preview-view .dataview-ol li:not(:last-child):after {
content: ", ";
}
.dataview-inline-lists .markdown-source-view ul.dataview-ul > li::before,
.dataview-inline-lists .markdown-source-view ul.dataview-ul > li::before,
.dataview-inline-lists .markdown-source-view ul.dataview-ol > li::before,
.dataview-inline-lists .markdown-preview-view ul.dataview-ul > li::before,
.dataview-inline-lists .markdown-preview-view ul.dataview-ul > li::before {
.dataview-inline-lists .markdown-preview-view ul.dataview-ol > li::before {
display: none;
}
.dataview-inline-lists .markdown-source-view .dataview-ul li,
.dataview-inline-lists .markdown-source-view .dataview-ul li,
.dataview-inline-lists .markdown-source-view .dataview-ol li,
.dataview-inline-lists .markdown-preview-view .dataview-ul li,
.dataview-inline-lists .markdown-preview-view .dataview-ul li {
.dataview-inline-lists .markdown-preview-view .dataview-ol li {
display: inline-block;
padding-inline-end: 0.25em;
margin-inline-start: 0;
Expand All @@ -5057,6 +5057,9 @@ body #cMenuModalBar button.cMenuCommandItem:hover {
margin-block-start: 0;
margin-block-end: 0;
}
.markdown-rendered table.dataview .dataview-result-list-li {
margin-inline-start: 0;
}

body .table-view-table > thead > tr > th,
.markdown-preview-view .table-view-table > thead > tr > th {
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Minimal",
"version": "7.7.2",
"version": "7.7.3",
"minAppVersion": "1.6.1",
"author": "@kepano",
"authorUrl": "https://twitter.com/kepano",
Expand Down
15 changes: 9 additions & 6 deletions src/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/css/main.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/css/main.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/css/main.min.css.map

Large diffs are not rendered by default.

19 changes: 11 additions & 8 deletions src/scss/plugins/dataview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,28 @@
--list-spacing: 0;
}
.dataview-ul li:not(:last-child):after,
.dataview-ul li:not(:last-child):after {
content:", ";
.dataview-ol li:not(:last-child):after {
content: ", ";
}
ul.dataview-ul > li::before,
ul.dataview-ul > li::before {
display:none;
ul.dataview-ol > li::before {
display: none;
}
.dataview-ul li,
.dataview-ul li {
display:inline-block;
padding-inline-end:0.25em;
margin-inline-start:0;
.dataview-ol li {
display: inline-block;
padding-inline-end :0.25em;
margin-inline-start: 0;
}
}


.markdown-rendered table.dataview {
margin-block-start: 0;
margin-block-end: 0;
.dataview-result-list-li {
margin-inline-start: 0;
}
}

body .table-view-table > thead > tr > th,
Expand Down
2 changes: 1 addition & 1 deletion theme.css

Large diffs are not rendered by default.

0 comments on commit 92f1193

Please sign in to comment.