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)
- Proposal: createSitemapItems hook - a sitemap equivalent to createFeedItems
- Blob storage files render dynamically HOT 1
- YAML code highlighting highlights much less than prismjs demo site HOT 1
- Include sidebar_class_name in category index metadata
- DocCards incorrectly pluralise the number of elements within them when only one is present HOT 2
- React 18.3 - new console warnings HOT 10
- Missing documentation for theme components HOT 3
- Updating past 3.1.1 breaks postCSS plugins customisation. Fully debugged, just needs fixing HOT 1
- `docusaurus start` command shows DeprecationWarning: The `punycode` module is deprecated. HOT 2
- Support asciidoc source code callouts in CodeBlock HOT 10
- Broken links checker: inconsistent trailing slash behavior HOT 4
- Migration of projects to new equipment HOT 1
- [Css Minimizer plugin] Build Broken after upgrading from 3.2.1 to 3.3.2 HOT 2
- Build failed after upgrade to 3.3.2 with a _category_.json contain slug attribute HOT 1
- Missing `:::` in Chinese translation. HOT 1
- the backtotopbutton only shows when scrolling up slightly after scrolling down HOT 5
- Trailing Slash Appended to Asset Files in Docusaurus 3.3.2 HOT 2
- Setting the `open` attribute on a `<details>` element should open it HOT 1
- page next, prev locale label not work(only doc) 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 docusaurus.