.c-product__code { display: inline-flex; height: 30px; padding: 10px; background: #fdf2cc; border: 1px solid #CCC; border-radius: 3px; align-items: center; } .c-product__code--span { margin-left: 4px; }