S
S
Sergey Konstantinov2020-08-27 09:25:28
css
Sergey Konstantinov, 2020-08-27 09:25:28

Why is text cut off in inputs in safari?

5f47520c5c4bc466384815.jpeg
Inputs do not have paddings, the height is much larger than the text.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Konstantinov, 2020-08-27
@SoFuWa

I solved it this way
input::placeholder{
min-height: 100%;
}
it's strange that in safari the placeholder cuts off the text by default, some kind of nonsense

R
Roman Khegay, 2020-08-27
@khegay

line-height: 50px;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question