Nuxt 3 DevTools CSS Overflow
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.3k
- Forks
- 214
- Avg merge
- 13h 22m
- Merged PRs (30d)
- 18
Description
Environment
Nuxt project info: 12:12:23
- Operating System: Windows_NT
- Node Version: v18.17.1
- Nuxt Version: 3.7.1
- CLI Version: 3.7.3
- Nitro Version: 2.6.2
- Package Manager: yarn@1.22.19
- Builder: -
- User Config: devtools, modules, css
- Runtime Modules: @nuxtjs/tailwindcss@6.8.0
- Build Modules: -
Reproduction
Always
Describe the bug
When enabling dev tools and setting a background makes the page overflow.
When setting scss to this:
html,
body,
#__nuxt {
@apply w-full h-full;
}
body {
background-image: url('/images/background.jpg');
@apply bg-neutral-800 bg-cover bg-center backdrop-blur-sm bg-no-repeat bg-fixed;
}
It overflows the page and adds a scrollbar.
I could just disable the dev tools sure but it would be nice if it didn't affect my own styling.
Additional context
No response
Logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the overflow in a Nuxt 3.7.1 project with DevTools enabled and the provided SCSS and Tailwind styling. Compare the page with DevTools enabled and disabled, then verify that the styling remains intact without an added scrollbar.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, nuxt, scss, tailwindcss, typescript
- Domain
- developer-experience, frontend, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100