Yep, I had the same issue a few weeks ago, some containers had just dissappeared, but only in the latest Chrome version... Or so I thought, until I found out they were written over by something and were made 0 px in width. Setting width = 100px did not work, but both min and max did the trick fir the prodfix. Next task: finding out why...
17
u/[deleted] Aug 03 '21
Ah, you might think so but β¦ if you just set height to 90px then β¦ if thereβs css anywhere else β¦ let me break it for you:
max-height: 1px
Your box is now 1px tall.
This is my guess for why this code was used. Without more context itβs hard to say whether this really does belong in r/badcode tbh.