Skip to content

Build your personal knowledge base with Trilium Notes

client/collections/board: style tweaks

Adorian Doranae6eb1e61a13
diff --git a/apps/client/src/widgets/collections/board/index.css b/apps/client/src/widgets/collections/board/index.css
index 5a1da7c7c8..d60c65f054 100644
--- a/apps/client/src/widgets/collections/board/index.css
+++ b/apps/client/src/widgets/collections/board/index.css
@@ -118,6 +118,15 @@ body.mobile .board-view-container.board-dragging {
scroll-behavior: auto;
}
+/* While something is carried, everything the pointer crosses says so: the copy following it is out
+ of hit testing, so the cursor comes from whatever lies beneath. It outweighs the cursors the
+ heading, the cards and the buttons set for themselves, and the class goes on once a gesture
+ rather than once a step, which is what makes a rule reaching this far affordable. */
+.board-view-container.board-dragging,
+.board-view-container.board-dragging * {
+ cursor: grabbing !important;
+}
+
/* Set from `#boardCardWidth`. The columns and everything measured against them read the width off
this one variable, so only the board itself names which of the three is in use. */
.board-view.board-narrow-columns {
@@ -169,7 +178,6 @@ body.mobile .board-view-container .board-add-column {
.board-view-container .board-column.drag-over {
border-color: var(--main-text-color);
- background-color: var(--hover-item-background-color);
}
.board-view-container .board-column h3 {
@@ -577,7 +585,6 @@ body.mobile .board-view-container .board-add-column {
will-change: transform;
z-index: 1000;
pointer-events: none;
- cursor: move;
opacity: 0.85;
box-shadow: var(--board-drag-shadow);
}