Has anyone encountered a formatting issue where the paragraph displays at 980px on Firefox but 979.94px on Chrome? Any suggestions on how to resolve this inconsistency?
For reference, you can view the codepen example here: https://codepen.io/isaacsgraphic/pen/jOVrrMO
body {
width: 980px;
background: #99c;
margin: 0 auto;
}
.row {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
grid-column-gap: 20px;
background: white;
}
.content-wrap {
grid-column: span 12;
width: 100%
}
<div class="row">
<div class="content-wrap">
<p>Example paragraph which is 979.94px, not 980 like the row it's within</p>
</div>
</div>
To see how this issue impacts column layout specifically in Chrome, check out this longer example: https://codepen.io/isaacsgraphic/pen/yLVJGqp