I can't make sure the whole css is configured correctly. But I think you should use line-height to set the name span and value span. If I am wrong, please tell me. I will tell which one should add and the other concern about the css part.