You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible duplicate of or at least related to #365.
Version used: 1.3.66
I have this class which basically splits a div in half: .split-half { display: grid; grid-template-columns: calc(50% - 1rem) calc(50% - 1rem); grid-column-gap: 2rem; }
and after minifying it becomes .split-half { display: grid; grid-template-columns: calc(50% - 1rem); grid-column-gap: 2rem; }
The second column value is removed and turns this into a very different layout.
I'm guessing this happens because the values for both columns are equal. If I change the definition to .split-half { display: grid; grid-template-columns: calc(50% - 1rem) calc(50% - 1.1rem); grid-column-gap: 2rem; }
it works and the definition is kept. Same for using repeat(2, calc(50% - 1rem)).
The text was updated successfully, but these errors were encountered:
Possible duplicate of or at least related to #365.
Version used: 1.3.66
I have this class which basically splits a div in half:
.split-half { display: grid; grid-template-columns: calc(50% - 1rem) calc(50% - 1rem); grid-column-gap: 2rem; }
and after minifying it becomes
.split-half { display: grid; grid-template-columns: calc(50% - 1rem); grid-column-gap: 2rem; }
The second column value is removed and turns this into a very different layout.
I'm guessing this happens because the values for both columns are equal. If I change the definition to
.split-half { display: grid; grid-template-columns: calc(50% - 1rem) calc(50% - 1.1rem); grid-column-gap: 2rem; }
it works and the definition is kept. Same for using
repeat(2, calc(50% - 1rem))
.The text was updated successfully, but these errors were encountered: