I have a weird #webDev question #askFedi
-
I have a weird #webDev question #askFedi
I'm customizing the Apache directory index in XHTML mode (so no hard styling). The table is set to width: 100% with some padding via CSS. When I restrict the horizontal space below 825px, though, the central (Name) column doesn't shrink anymore, as if there was something preventing it from wrapping text more than it has, so the table overflows. Only happens in some directories. How do I find what's preventing the shrink/wrap?
-
The culprit is most likely a file or directory name that the layout engine thinks it cannot be wrapped better, but with thousands of entries it's hard to understand which one and why.
-
G gustavinobevilacqua@mastodon.cisti.org shared this topic
-
Solved by setting the name column to
overlay-wrap: anywhere
Still wraps correctly in most cases, but it's managing to wrap whatever was preventing it earlier.