Support for static items in sortable lists
authorAlexander Ebert <ebert@woltlab.com>
Wed, 19 Jun 2019 10:23:42 +0000 (12:23 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 19 Jun 2019 10:23:42 +0000 (12:23 +0200)
wcfsetup/install/files/style/ui/listSortable.scss

index 05889fd7e690ddfd5f25c82f7f8aab5db505c2d7..db5e8f10b9300918ac690d73628df16d81e58b2c 100644 (file)
@@ -21,7 +21,6 @@
 
 .sortableNodeLabel {
        align-items: center;
-       cursor: move;
        padding: 10px;
        
        /* `display:flex` acts weird inside lists with a visible list-style */
                background-color: $wcfTabularBoxBackgroundActive
        }
        
+       &:not(.sortableNodeStaticItem) {
+               cursor: move;
+       }
+       
        > .icon,
        > a {
                margin-right: 5px;