question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicate rules being merged into one

See original GitHub issue

There is an existing issue which seems to be related to my issue but the other one is specifically about the background rule, so I have opened a separate issue incase this needs to be handled differently.

clean-css appears to be removing duplicate CSS rules which are needed.

Take this:

display: -ms-flexbox;
-ms-flex-pack: center;
-ms-flex-align: center;
display: -moz-box;
-moz-box-pack: center;
-moz-box-align: center;
display: -webkit-box;
-webkit-box-pack: center;
-webkit-box-align: center;
display: box;
box-pack: center;
box-align: center;

Which is compressed to (new lines are my own):

-ms-flex-pack:center;
-ms-flex-align:center;
-moz-box-pack:center;
-moz-box-align:center;
-webkit-box-pack:center;
-webkit-box-align:center;
display:box;
box-pack:center;
box-align:center

How can I stop display: -moz-box; and display: -webkit-box; from being removed?

Edit: I should note that this has just started happening since I updated to the latest version, everything was fine before.

Thanks

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
DevanBcommented, Jan 25, 2017

Ahhh, this is good to know. I may just jump to 4.0 on all projects. Thanks!

On Jan 25, 2017, at 09:27, Jakub Pawlowicz notifications@github.com wrote:

Sorry to hear that. In 3.x you can disable it with { aggressiveMerging: false }. It’s entirely gone in 4.x being replaced by overriding based on understandability.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

0reactions
misam2alicommented, Jan 22, 2018

Glad that this helped me fix a similar issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Merge Duplicate Records in Salesforce Lightning
Merging duplicates in Salesforce relies on you setting up duplicate and matching rules, so be sure to do that first!
Read more >
Automerge using Duplicate Rules - Lane Four
To set up a duplicate rule, open Matching > Matching Rules in the left hand ... from the merged record or which record...
Read more >
Guidelines for Merging Duplicate Accounts - Salesforce Help
Hidden fields aren't shown while you merge. A merged record retains the Created By user and Created Date from the oldest record merged,...
Read more >
Merging Unrelated Records in Salesforce Lightning - XTIVIA
This post includes how to merge duplicate and matching records in Salesforce Lightning.
Read more >
How to Merge Duplicate Accounts in Salesforce [incl. secret ...
To merge duplicate accounts in Salesforce you first need to have Duplicate Rules activated. This requires admin permissions because you'll be permanently ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found