@harnessio/ui 1.5.8 → 1.5.9
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.
package/dist/tailwind.config.js
CHANGED
|
@@ -1823,7 +1823,8 @@ const ce = {
|
|
|
1823
1823
|
zIndex: "50",
|
|
1824
1824
|
minWidth: "var(--cn-dropdown-min-width)",
|
|
1825
1825
|
maxWidth: "var(--cn-size-69)",
|
|
1826
|
-
|
|
1826
|
+
// floor lets Radix flip when this side is short; capped at ~50vh so it always fits the roomier side
|
|
1827
|
+
maxHeight: "max(calc(var(--radix-dropdown-menu-content-available-height) - 4px), min(var(--cn-size-60), calc(50vh - 24px)))",
|
|
1827
1828
|
border: "var(--cn-dropdown-border) solid var(--cn-border-3)",
|
|
1828
1829
|
borderRadius: "var(--cn-dropdown-radius)",
|
|
1829
1830
|
backgroundColor: "var(--cn-bg-3)",
|
|
@@ -1863,9 +1864,11 @@ const ce = {
|
|
|
1863
1864
|
minWidth: "0",
|
|
1864
1865
|
overflow: "hidden",
|
|
1865
1866
|
"&-header": {
|
|
1867
|
+
flexShrink: "0",
|
|
1866
1868
|
borderBottom: "var(--cn-dropdown-border) solid var(--cn-border-3)"
|
|
1867
1869
|
},
|
|
1868
1870
|
"&-footer": {
|
|
1871
|
+
flexShrink: "0",
|
|
1869
1872
|
borderTop: "var(--cn-dropdown-border) solid var(--cn-border-3)"
|
|
1870
1873
|
}
|
|
1871
1874
|
},
|