Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style/collapsible: tweak the appearance of the drag handle
Adorian Doran33364d035068
diff --git a/packages/ckeditor5-collapsible/theme/collapsible.css b/packages/ckeditor5-collapsible/theme/collapsible.cssindex 5d56c6f9e9..34e05a5f05 100644--- a/packages/ckeditor5-collapsible/theme/collapsible.css+++ b/packages/ckeditor5-collapsible/theme/collapsible.css@@ -77,7 +77,7 @@}}- > *:not(summary) {+ >*:last-child:not(summary) {margin-bottom: 0;}}@@ -107,6 +107,7 @@list-style: none;position: relative;padding-left: var(--_arrow-gap);+ padding-right: calc(var(--_inline-padding) + 1lh); /* extra space for the handle on the right */&::-webkit-details-marker {display: none;@@ -117,8 +118,9 @@* Sits in the details' top-left padding area, visible on hover. */> .trilium-collapsible-handle {position: absolute;- top: calc(0px - var(--_block-padding) / 2);- right: 20px;+ top: 0;+ bottom: 0;+ right: var(--_inline-padding);z-index: 1000;width: 1lh;height: 1lh;@@ -129,7 +131,7 @@&::before {position: absolute;inset: 0;- content: "\ec6c"; /* U+205E VERTICAL FOUR DOTS — drag-handle glyph */+ content: "\ec6c";display: flex;justify-content: center;align-items: center;