diff --git a/src/codec-components/ViewCodec/CStruct.tsx b/src/codec-components/ViewCodec/CStruct.tsx index 0aeb80b..3dc0559 100644 --- a/src/codec-components/ViewCodec/CStruct.tsx +++ b/src/codec-components/ViewCodec/CStruct.tsx @@ -36,7 +36,7 @@ const StructItem: React.FC<{ const title = isComplexShape ? ( toggleCollapsed(pathStr)} - className="cursor-pointer flex select-none items-center py-1 gap-1" + className="cursor-pointer flex items-center py-1 gap-1" > {hasParentTitle && } @@ -51,7 +51,7 @@ const StructItem: React.FC<{ {hasParentTitle && } - + {name} diff --git a/tailwind.config.js b/tailwind.config.js index 2e9694a..e52341a 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,3 +1,5 @@ +import tailwindAnimate from "tailwindcss-animate" + /** * @type {import("tailwindcss").Config} */ @@ -96,6 +98,6 @@ export default { function ({ addVariant }) { addVariant("group-state-open", ':merge(.group)[data-state="open"] &') }, - require("tailwindcss-animate"), + tailwindAnimate, ], }