Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Weird min-width: max-content behavior (jsfiddle) - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
164 replies
Tom
Weird min-width: max-content behavior (jsfiddle)
Can someone explain to me what
's happening in this fiddle
?
https://jsfiddle.net/th147dmf/53/
This is a simplified version of something that is happening in my actual app
.
If you comment out the
width: 1px
width: 1px
the overflow behavior is ruined
, even though the 1px width doesn
't seem to be used
.
The
max-width: 100%
max-width: 100%
doesn
't change the behavior either way
. even though it seems like it should
.
Can someone help me understand whats going on here
?
Edit fiddle - JSFiddle - Code Playground
Test your JavaScript
, CSS
, HTML or CoffeeScript online with JSFiddle code editor
.
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Next page
Similar Threads
Weird Vercel behavior.
TTC
Theo's Typesafe Cult / questions
2y ago
Weird cache behavior
TTC
Theo's Typesafe Cult / questions
2y ago
Really weird TypeScript behavior
TTC
Theo's Typesafe Cult / questions
4y ago
Next js Form weird behavior
TTC
Theo's Typesafe Cult / questions
3y ago