content icon indicating copy to clipboard operation
content copied to clipboard

Styles in official documentation is not correct

Open kingyue737 opened this issue 1 year ago • 1 comments

Environment

ignore

Reproduction

ignore

Describe the bug

Expected:

The code block should be a single rectangle

Screenshot 2024-06-24 120722

In fact:

image

The filename bar and code are separated

Some icons are also missing

image

Additional context

I also faced this issue in my own nuxt project. My workaround is run pnpm run docs:prepare && pnpm run docs:build in deployment instead of pnpm run docs:build alone.

Logs

No response

kingyue737 avatar Jun 24 '24 04:06 kingyue737

Seems to be related to the recent upgrade of dependencies.

owljacob avatar Jun 24 '24 08:06 owljacob

Let's track this issue here https://github.com/nuxt-modules/tailwindcss/issues/855

kingyue737 avatar Jul 11 '24 09:07 kingyue737

It's fixed! 😊 Adding a postinstall script doing nuxt prepare did the trick.

benjamincanac avatar Jul 11 '24 14:07 benjamincanac