Comments (4)
I and a moderator of the Discord server discovered the problem. Some of my styles use nested CSS, what is a new feature in default CSS and already implemented in SCSS. the problem is: the default CSS minimizer don't have support to nested CSS, so I'm installing the scss plugin to solve my problem.
As i still think this is a problem, i will let the issue open for some mod review and give the verdict.
from docusaurus.
Agree with have a bug, already tracked in #9303
Note CSS nesting is not yet "widely" supported.
Only 81% full support, that's maybe a bit too soon to emit CSS nesting, but maybe we could at least support it as an authoring format and emit non-nested CSS (similar to what SCSS does).
from docusaurus.
Only 81% full support, that's maybe a bit too soon to emit CSS nesting, but maybe we could at least support it as an authoring format and emit non-nested CSS (similar to what SCSS does).
the idea of emit non nested CSS looks really good for me, but isn't so much work for docusaurus team? Like an entire css parser and etc...
from docusaurus.
Forgot to close as duplicate
the idea of emit non nested CSS looks really good for me, but isn't so much work for docusaurus team? Like an entire css parser and etc...
We wouldn't do this on our own but likely use PostCSS for that.
https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-nesting
Since postcss-preset-env supports browserslist, we should probably use that in the future
from docusaurus.
Related Issues (20)
- Unable to set a breakpoint in code in Chrome/Firefox HOT 4
- Page loses scrollbar when using Algolia search bar HOT 1
- With trailingSlash:true serving a build/ gives site did not load properly HOT 1
- <span style="color:orange"> in Markdown causes build to fail HOT 2
- Invalid modification of Webpack's build configuration HOT 6
- Script attribute value with quotes is escaped HOT 8
- The Markdown front matter field "id" in the index.md file under the category is ignored HOT 3
- Add option to not show the date on blog posts HOT 3
- Markdown relative links are treated URL paths if split over multiple lines HOT 1
- Console log with 188 error when using with webserver after Cloudflare HOT 2
- How to disable static site generation and SEO metadata
- RFC: Blog authors pages HOT 1
- [Docusaurus v3.4] index.html in static directory raises "Multiple assets emit different content to the same filename" error HOT 2
- The "paths[1]" argument must be of type string. HOT 20
- [ERROR] TypeError [ERR_INVALID_ARG_TYPE]: The "paths[1]" argument must be of type string. Received undefined HOT 2
- Support image resize
- Clicking "current version" at the version dropdown redirects to the landing page of docs, which is unintuitive
- Insecure NPM packages Detected in Docusaurus Core as a Nested Dependency
- Webpack dev server fails to start without static assets HOT 1
- Ideal image flashing when navigating back and forward
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 docusaurus.