My input has 1 or 2 pixels of text overlapped on top. Using SCSS with React.JS
.find-input { color: white; width: 100%; box-sizing: border-box; background-color: #262B36; padding: 13px 20px; font-size: 16px; font-weight: 400; outline: none; border: none; border-radius: 4px; } .find-input:focus { outline: 1px solid blue; }
<div class="main"> <input class="find-input" /> </div>
Try increasing the height or reducing the top/bottom padding.
Looking at your HTML will help...