A quirky CSS layout bug hides in plain sight
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Spot the Bug</title>
<style>
.frame { width: 320px; height: 220px; border: 2px solid #333; display: grid; grid-template-columns: 1fr 2fr; grid-gap: 6px; }
.item { background: #8fb; padding: 8px; color: #fff; text-align: center; }
.item.wide { grid-column: 2 / 3; }
</style>
</head>
<body>
<div class="frame" role="region" aria-label="layout frame">
<div class="item">A</div>
<div class="item wide">B</div>
<div class="item">C</div>
</div>
<p>Note: The second tile should span the second column only on wide screens.</p>
</body>
</html>
Reply with what is broken and how you would fix it.