Skip to content

Commit b494cf4

Browse files
authored
#1252: Refine grab cursor for sortable list items and handles (#1253)
Updated CSS so the grab cursor appears only on sortable list items without handles, or specifically on the handle icon when present. This improves clarity and user experience when interacting with sortable lists.
1 parent b644c4b commit b494cf4

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

blazorbootstrap/Components/SortableList/SortableList.razor.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

blazorbootstrap/wwwroot/blazor.bootstrap.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,3 +638,12 @@ main {
638638
color: var(--bs-link-hover-color);
639639
text-decoration: underline;
640640
}
641+
642+
/* sortable-list */
643+
.list-group-item:not(:has(.bb-sortable-list-handle)) {
644+
cursor: grab !important;
645+
}
646+
647+
.bb-sortable-list-handle .bi-grip-vertical::before {
648+
cursor: grab !important;
649+
}

0 commit comments

Comments
 (0)