.oauth2-loginhead { display: flex; align-items: center; } .oauth2-loginhead-icon { flex: 0 0 auto; background-color: #fff; mask: url('/images/user-lock-solid.svg') no-repeat center; width: 40px; height: 40px; margin: 10px; } .oauth2-loginhead-text { font-size: 1.8em; line-height: 1.4em; }