Disable some css transformations (such as inset)
See original GitHub issueCommand
build
Description
When building our project there seems to be some css optimizations we don’t want. Specifically, this code will get optimized
top: 0;
right: 0;
bottom: 0;
left: 0;
into
inset: 0;
This doesn’t work on some older browsers, and breaks our UI completely. Seems like this isn’t done by SCSS, and I can’t find a way to disable it. Changing .browserslistrc doesn’t seem to have an effect.
Describe the solution you’d like
A way to disable some transformations.
Describe alternatives you’ve considered
No response
Issue Analytics
- State:
- Created 10 months ago
- Comments:7
Top Results From Across the Web
How to prevent the usage of inset (and other non-compatible ...
We recently migrated our Angular project from node-sass to dart-sass and now are facing a browser compatibility issue. The following SCSS:.
Read more >transform - CSS: Cascading Style Sheets - MDN Web Docs
The transform CSS property lets you rotate, scale, skew, or translate an element. It modifies the coordinate space of the CSS visual ...
Read more >inset | CSS-Tricks
The inset property in CSS is a shorthand for the four inset properties, top, right, bottom and left in one declaration.
Read more >Prevent body scrolling but allow overlay scrolling
I attempted to create this with just CSS (i.e. a div overlay on top of the whole page and body with overflow: hidden...
Read more >Configuration - Tailwind CSS
If you're using Tailwind as a PostCSS plugin, you will need to specify your ... To disable specific core plugins, provide an object...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @BojanKogoj,
Can you please share the output of
ng version
, and your browserslist configuration?Side note all the browsers that Angular officially supports do support inset.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.