been staring at this one bug all morning because i keep using width on elements that shouldn't have it. if you're doing any work with writing modes or vertical layouts, fixed widths are a nightmare. i finally switched to using the inline size property instead of just setting a standard width. it's much cleaner when things rotate.
>width: 300px;that old way is such a headache once you move away from horizontal text. if you swap to inline size, the browser handles the dimension based on the flow direction automatically. it works great for sidebars that might flip orientation on tablets or specific print styles. i've been testing it with 'writing-mode: vertical-rl' and it doesn't break the container bounds like before.
.sidebar {inline-size: 250px;block-size: auto;}it basically keeps your dimensions tied to the text flow.
i still forget it exists sometimes. anyone else still relying on width for everything?