skip to Main Content

Css – Icons in React not centered vertically

I have this simple template: <div className="wrapper"> <div className="block one"> <GoSearch /> 15 </div> <div className="block two">test</div> </div> with this css: .wrapper { display: flex; width: 100%; margin-top: 40px; justify-content: center; align-items: center; } .block { flex: 1; background-color: red;…

VIEW QUESTION
Back To Top
Search