Add supporting themes required for Lotusdocs

This commit is contained in:
Abner Coimbre committed 2026-01-11 16:48:19 -08:00
1 parent 8a4d04db58
commit f8d40c4e41
1289 files changed
+234948

No files matched your search

@@ -0,0 +1,10 @@
import getComputedStyle from "./getComputedStyle.js";
export default function isScrollParent(element) {
// Firefox wants us to check `-x` and `-y` variations as well
var _getComputedStyle = getComputedStyle(element),
overflow = _getComputedStyle.overflow,
overflowX = _getComputedStyle.overflowX,
overflowY = _getComputedStyle.overflowY;
return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
}