JSFiddle - React, Tailwind, and code Playground

by vjeux

HTML

<div>
    <div style="height: 100px; background: blue; align-self: flex-start;">
        <div style="width: 200px; flex: 0;"></div>
    </div>
</div>

CSS

div {
  display: flex;
}

JavaScript

// The inner element is 0x100, so the container should also be 0x100. Somehow the 200px width is being propagated to the parent even if it's not being used