I am having trouble with my placeholder text getting clipped inside the input field. It seems to work fine with some fonts like sans serif, but not with the font I am currently using, which is Futura. How can I adjust the input field to properly fit the text?
Currently, it looks like this: https://i.sstatic.net/DMxkH.png
However, I want the 'Search' text to appear without being clipped.
This is what my input code looks like:
<input type="text" class="search-input" placeholder="Search...">
Here is the CSS styling for the input field:
.search-input {
display: block;
font-size: 24px;
font-style: italic;
font-weight: 700;
font-family: Futura;
width: 100%;
border-radius: 4px;
margin-top: 16px;
margin-bottom: 16px;
padding: 0 4px 0 3px;
border: 1px solid white;
}
For reference, I am using Google Chrome version 87.0.4280.88 on Ubuntu operating system.