mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
feature: migrate to v3 badge, additional badge stories, re-useable documentation link badge and misc styling fixes/improvements
This commit is contained in:
@@ -3,7 +3,7 @@ import type { Decorator } from "@storybook/react-vite";
|
||||
|
||||
export const DocumentDecorator: Decorator = (Story) => {
|
||||
useEffect(() => {
|
||||
const root = document.getElementsByTagName("html")[0];
|
||||
const root = document.documentElement;
|
||||
|
||||
root.setAttribute("class", "overflow-visible");
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user