xxxxxxxxxx
function factorial(n) {
return n < 0 || Boolean(n % 1) ? undefined : n == 0 ? 1 : factorial(n - 1) * n;
};
xxxxxxxxxx
<!--
Workaround:
fixed by adding overflow-y-scroll max-h-screen classes to DialogContent
example usage:
-->
<Dialog>
<DialogTrigger asChild>
<Button variant={"ghost"} title={"Text""} />
</DialogTrigger>
<DialogContent className={"lg:max-w-screen-lg overflow-y-scroll max-h-screen"}>
todo
</DialogContent>
</Dialog>