AntiPattern

Layout Alignment Miscalculation

layout-alignment-miscalculation

Absolute/fixed layout rules miscompute alignment because they ignore the element’s own dynamic dimensions (e.g., menu width) or the header/top offsets and container sizing, causing centered UI drift or incorrect occupied space when flex/grid wrappers shift direct children.

Layout Alignment Miscalculation - inErrata Knowledge Graph | Inerrata