Comments (6)
Looks like this is an issue with the Scalar styles being overridden by the Tailwind preflight reset. We recently moved a bunch of are code into CSS layers and have been having some issues with this.
Currently working on removing some of that layer code and will try to get it merged ASAP.
from scalar.
Thanks for reporting! That seems off, we’ll investigate what’s wrong there.
from scalar.
updated to 0.3.11, seems to work fine now
from scalar.
Just tested Vite + React and this seems to work fine, but I just saw you’re using create-next-app. Will give this a try!
from scalar.
yeah, maybe it's something specific to next. I'm using "next": "14.2.3"
with the app router.
➜ my-app tree app
app
├── docs
│ ├── page.tsx
│ └── ui.tsx
├── favicon.ico
├── globals.css
├── layout.tsx
└── page.tsx
2 directories, 6 files
that's the app folder.
from scalar.
Awesome, thanks for letting us know!
from scalar.
Related Issues (20)
- In Hono Scalar pageTitle and JWT token are not set HOT 1
- docusaurus: doesn’t use full height HOT 2
- OpenAPI 3.1 webhooks are not displayed if x-tagGroups are used HOT 2
- Items in "More" dropdown aren't visible in dark mode HOT 3
- Schema with anyOf section that contains two objects is rendered invalid HOT 1
- Module not found: Missing "./entities/workspace/security" specifier in "@scalar/oas-utils" package HOT 3
- Styling of server inputs is missing HOT 1
- api reference: empty server variable value
- Enums do not render properly as api-client-url-variables
- bug: all query parameters are being sent when sending request HOT 4
- Support for intergers > i32
- Displaying large responses crashes the tab
- bug: path-scoped parameters are not shown/included in `Test Request` functionality HOT 1
- Deep schema is not fully shown in example responses
- @scalar/play-button switches from light to dark mode when hitting send request
- @scalar/api-reference-react: Global CSS cannot be imported from within node_modules.
- Example response shown twice in some cases after version 1.24.16
- Missing dependencies in 1.24.28 HOT 3
- Leaks global styles to rest of application HOT 4
- Configuration Incorrectly Generated In .Net Package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scalar.