.pixWrapper { display: flex; width: 197px; height: 39px; justify-content: space-between; align-items: center; margin-top: 8px; } .pixWrapperImage { width: 100%; max-width: 66px; height: 100%; max-height: 24px; } .pixImage { width: 100%; height: 100%; } .pixResult { display: flex; flex-direction: column; } .pixResultValue{ font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-size: 18px; line-height: 25px; margin: 0; /* identical to box height */ color: rgba(0, 0, 0, 0.58); } .pixResultPercent{ font-family: 'Open Sans'; font-style: normal; font-weight: 300; font-size: 13px; line-height: 18px; margin: 0; /* identical to box height */ color: #929292; }