How do I fix my input overlapping the entered text?
P粉141035089
P粉141035089 2024-01-29 10:16:01
0
1
482

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>

P粉141035089
P粉141035089

reply all(1)
P粉002546490

Try increasing the height or reducing the top/bottom padding.

Looking at your HTML will help...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template