mintlify / components

UI components for documentation made with React and TailwindCSS.
MIT License
79 stars 12 forks source link

Code block z index #53

Closed NicoZweifel closed 1 year ago

NicoZweifel commented 1 year ago

Fixes issue with z-index on Codeblocks without names and improves props of CodeBlock button to reduce nesting.

I ran prettier in the end, formatting some other files as well. I could add git hooks in a seperate PR to automatically run eslint/prettier on every commit, which really helps with maintaining.

ghost commented 1 year ago

We should probably connect .prettierrc to our config package like we do in mint: https://github.com/mintlify/mint/blob/main/client/.prettierrc