Skip to content

Commit 8b90e2e

Browse files
committed
Move drag handles inside table when width is 100%
1 parent f29716f commit 8b90e2e

File tree

8 files changed

+23
-5
lines changed

8 files changed

+23
-5
lines changed

Minimal.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,6 +1680,11 @@ body {
16801680
.is-mobile .cm-embed-block.cm-table-widget.markdown-rendered {
16811681
padding-bottom: 40px; }
16821682

1683+
/* Place drag handles inside the cell when width is 100% */
1684+
.table-100 .markdown-source-view.mod-cm6 .cm-table-widget .table-row-drag-handle,
1685+
.table-100.markdown-source-view.mod-cm6 .cm-table-widget .table-row-drag-handle {
1686+
inset-inline-end: calc(100% - var(--table-drag-handle-size)) !important; }
1687+
16831688
/* Override Sortable plugin */
16841689
.markdown-preview-view th,
16851690
.table-view-table > thead > tr > th,

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Minimal",
3-
"version": "7.7.17",
3+
"version": "7.7.18",
44
"minAppVersion": "1.6.1",
55
"author": "@kepano",
66
"authorUrl": "https://twitter.com/kepano",

src/css/main.css

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

src/css/main.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/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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ body {
5858
}
5959
}
6060

61+
/* Place drag handles inside the cell when width is 100% */
62+
.table-100 .markdown-source-view.mod-cm6,
63+
.table-100.markdown-source-view.mod-cm6 {
64+
.cm-table-widget .table-row-drag-handle {
65+
inset-inline-end: calc(100% - var(--table-drag-handle-size)) !important;
66+
}
67+
}
68+
6169
/* Override Sortable plugin */
6270
.markdown-preview-view th,
6371
.table-view-table > thead > tr > th,

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)