@redseed/redseed-ui-tailwindcss 7.41.0 → 7.41.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -62,6 +62,11 @@
|
|
|
62
62
|
.rsui-card-group__drag-handle {
|
|
63
63
|
@apply absolute p-2 rounded cursor-grab text-grey-400 hover:text-grey-600 transition-colors z-10;
|
|
64
64
|
|
|
65
|
+
/* touch-action: none so a touch/pen drag on the handle reorders instead of
|
|
66
|
+
scrolling the page; select-none stops the grab selecting handle text.
|
|
67
|
+
Only the pointer engine (touch/pen) needs these — mouse uses native DnD. */
|
|
68
|
+
@apply touch-none select-none;
|
|
69
|
+
|
|
65
70
|
/* focus state */
|
|
66
71
|
@apply focus-visible:ring-offset-2 focus-visible:ring-2 focus-visible:ring-border-primary;
|
|
67
72
|
}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
.rsui-section-header {
|
|
2
|
-
@apply flex flex-col gap-x-space-sm gap-y-space-lg transition-all
|
|
2
|
+
@apply flex flex-col gap-x-space-sm gap-y-space-lg transition-all;
|
|
3
3
|
@apply md:flex-row md:justify-between md:items-center;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
+
/* overflow-hidden guards against a useResponsiveWidth feedback loop (mobile
|
|
7
|
+
width briefly misreported, widened content re-triggers the observer,
|
|
8
|
+
locking the broken layout in). Opt out while a dropdown menu is open in
|
|
9
|
+
the header — otherwise the menu gets clipped by this boundary. */
|
|
10
|
+
.rsui-section-header:not(:has(.rsui-dropdown-menu__container--open)) {
|
|
11
|
+
@apply overflow-hidden;
|
|
12
|
+
}
|
|
13
|
+
|
|
6
14
|
.rsui-section-header--clickable {
|
|
7
15
|
@apply cursor-pointer;
|
|
8
16
|
}
|