@markup-mitchell
Posted
Hi Laura,
You're using position: absolute; left: 30%
on storage-callout
which takes it out of the flow and prevents margin: auto
from being applicable.
@lauradotcom
Posted
Ahhh thank you for pointing that out, Mark! I initially had left: 50%
, thinking that should have centered the callout relative to the main container. 30% got it looking closer, then I got frustrated and tried to override it with the 0 margin
.
Ultimately I got it to center by changing back to left: 50%
and adding margin-left: -75px
. I suspect it was having trouble centering because I'd set a min-width of 150px but not totally sure why that solution worked. I'll take it, though! :p