Josee9988 / MinifyAll

A 𝗩𝗦𝗖𝗼𝗱𝗲 𝗺𝗢𝗻𝗢𝗳𝗢𝗲𝗿 for JS, JSON/C, CSS, and HTML, you will love its simplicity! 🌟 π˜Ύπ™€π™’π™₯π™§π™šπ™¨π™¨ and π™œπ™―π™žπ™₯ files and folders πŸ“¦ Reduce your bundle and file sizes with lightning speed ⚑
https://minifyall.jgracia.es/
GNU General Public License v3.0
71 stars 10 forks source link

[Bug] css - padding with 4 values - removes unit if value contains 1.0em as value #155

Open axelhahn opened 1 year ago

axelhahn commented 1 year ago

🐞 Bug Report

Describe the bug

In a css file I add a class that has a padding rule with 4 values: .example{padding: 2em 1.0em 0.7em 1.0em;}

The minified version scrambles that to

.example{padding:2em 1.0 .7em 1.0;}

(it removes"em" for 2nd and 4th padding item)


Is this a regression?


To Reproduce

  1. in a css file add .example{padding: 2em 1.0em 0.7em 1.0em;}
  2. minify it

Expected behaviour

Media prove


Your environment

Additional context

welcome[bot] commented 1 year ago

Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!