Skip to content

Commit 6adf751

Browse files
committed
Fix table handles
1 parent 2785e55 commit 6adf751

File tree

7 files changed

+29
-29
lines changed

7 files changed

+29
-29
lines changed

Minimal.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,22 +1729,22 @@ body {
17291729
.markdown-source-view.mod-cm6 td:first-child, .markdown-source-view.mod-cm6 th:first-child,
17301730
.markdown-preview-view td:first-child,
17311731
.markdown-preview-view th:first-child {
1732-
padding-left: var(--table-edge-cell-padding-first);
1732+
padding-inline-start: var(--table-edge-cell-padding-first);
17331733
}
17341734
.markdown-source-view.mod-cm6 td:first-child .table-cell-wrapper, .markdown-source-view.mod-cm6 th:first-child .table-cell-wrapper,
17351735
.markdown-preview-view td:first-child .table-cell-wrapper,
17361736
.markdown-preview-view th:first-child .table-cell-wrapper {
1737-
padding-left: 0;
1737+
padding-inline-start: 0;
17381738
}
17391739
.markdown-source-view.mod-cm6 td:last-child, .markdown-source-view.mod-cm6 th:last-child,
17401740
.markdown-preview-view td:last-child,
17411741
.markdown-preview-view th:last-child {
1742-
padding-right: var(--table-edge-cell-padding-last);
1742+
padding-inline-end: var(--table-edge-cell-padding-last);
17431743
}
17441744
.markdown-source-view.mod-cm6 td:last-child .table-cell-wrapper, .markdown-source-view.mod-cm6 th:last-child .table-cell-wrapper,
17451745
.markdown-preview-view td:last-child .table-cell-wrapper,
17461746
.markdown-preview-view th:last-child .table-cell-wrapper {
1747-
padding-right: 0;
1747+
padding-inline-end: 0;
17481748
}
17491749

17501750
.cm-embed-block.cm-table-widget.markdown-rendered {
@@ -1753,10 +1753,10 @@ body {
17531753
}
17541754

17551755
.markdown-source-view.mod-cm6 .cm-table-widget .table-col-drag-handle {
1756-
top: 0;
1756+
left: 0 !important;
17571757
}
17581758
.markdown-source-view.mod-cm6 .cm-table-widget .table-row-drag-handle {
1759-
left: 0;
1759+
top: 0 !important;
17601760
}
17611761

17621762
/* Override Sortable plugin */
@@ -1768,12 +1768,12 @@ body {
17681768
.markdown-preview-view th:first-child,
17691769
.table-view-table > thead > tr > th:first-child,
17701770
.markdown-source-view.mod-cm6 .dataview.table-view-table thead.table-view-thead tr th:first-child {
1771-
padding-left: var(--table-edge-cell-padding-first);
1771+
padding-inline-start: var(--table-edge-cell-padding-first);
17721772
}
17731773
.markdown-preview-view th:last-child,
17741774
.table-view-table > thead > tr > th:last-child,
17751775
.markdown-source-view.mod-cm6 .dataview.table-view-table thead.table-view-thead tr th:last-child {
1776-
padding-right: var(--table-edge-cell-padding-last);
1776+
padding-inline-end: var(--table-edge-cell-padding-last);
17771777
}
17781778

17791779
/* Live Preview Tables */

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Minimal",
3-
"version": "7.6.7",
4-
"minAppVersion": "1.6.0",
3+
"version": "7.6.8",
4+
"minAppVersion": "1.6.1",
55
"author": "@kepano",
66
"authorUrl": "https://twitter.com/kepano",
77
"fundingUrl": "https://www.buymeacoffee.com/kepano"

src/css/main.css

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/content/tables.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ body {
2626
td, th {
2727
padding: var(--table-cell-padding);
2828
&:first-child {
29-
padding-left: var(--table-edge-cell-padding-first);
29+
padding-inline-start: var(--table-edge-cell-padding-first);
3030
.table-cell-wrapper {
31-
padding-left: 0;
31+
padding-inline-start: 0;
3232
}
3333
}
3434
&:last-child {
35-
padding-right: var(--table-edge-cell-padding-last);
35+
padding-inline-end: var(--table-edge-cell-padding-last);
3636
.table-cell-wrapper {
37-
padding-right: 0;
37+
padding-inline-end: 0;
3838
}
3939
}
4040
}
@@ -48,10 +48,10 @@ body {
4848

4949
.markdown-source-view.mod-cm6 .cm-table-widget {
5050
.table-col-drag-handle {
51-
top: 0;
51+
left: 0 !important;
5252
}
5353
.table-row-drag-handle {
54-
left: 0;
54+
top: 0 !important;
5555
}
5656
}
5757

@@ -61,10 +61,10 @@ body {
6161
.markdown-source-view.mod-cm6 .dataview.table-view-table thead.table-view-thead tr th {
6262
padding: var(--table-cell-padding);
6363
&:first-child {
64-
padding-left: var(--table-edge-cell-padding-first);
64+
padding-inline-start: var(--table-edge-cell-padding-first);
6565
}
6666
&:last-child {
67-
padding-right: var(--table-edge-cell-padding-last);
67+
padding-inline-end: var(--table-edge-cell-padding-last);
6868
}
6969
}
7070

theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)