Skip to content

Commit

Permalink
Remove active drag handle background because which can overlap the se…
Browse files Browse the repository at this point in the history
…lection
  • Loading branch information
kepano committed Aug 27, 2024
1 parent 8b90e2e commit 8ff51e8
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 10 deletions.
9 changes: 6 additions & 3 deletions Minimal.css
Original file line number Diff line number Diff line change
Expand Up @@ -1681,9 +1681,12 @@ body {
padding-bottom: 40px; }

/* Place drag handles inside the cell when width is 100% */
.table-100 .markdown-source-view.mod-cm6 .cm-table-widget .table-row-drag-handle,
.table-100.markdown-source-view.mod-cm6 .cm-table-widget .table-row-drag-handle {
inset-inline-end: calc(100% - var(--table-drag-handle-size)) !important; }
.table-100 .markdown-source-view.mod-cm6,
.table-100.markdown-source-view.mod-cm6 {
--table-drag-handle-background-active: transparent; }
.table-100 .markdown-source-view.mod-cm6 .cm-table-widget .table-row-drag-handle,
.table-100.markdown-source-view.mod-cm6 .cm-table-widget .table-row-drag-handle {
inset-inline-end: calc(100% - var(--table-drag-handle-size)) !important; }

/* Override Sortable plugin */
.markdown-preview-view th,
Expand Down
9 changes: 6 additions & 3 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.

1 change: 1 addition & 0 deletions src/scss/content/tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ body {
/* Place drag handles inside the cell when width is 100% */
.table-100 .markdown-source-view.mod-cm6,
.table-100.markdown-source-view.mod-cm6 {
--table-drag-handle-background-active: transparent;
.cm-table-widget .table-row-drag-handle {
inset-inline-end: calc(100% - var(--table-drag-handle-size)) !important;
}
Expand Down
2 changes: 1 addition & 1 deletion theme.css

Large diffs are not rendered by default.

0 comments on commit 8ff51e8

Please sign in to comment.