B
B
belbecek2017-07-23 19:58:39
css
belbecek, 2017-07-23 19:58:39

How to solve the problem with the display of button elements on retina displays?

All good evening.
Please help, no one to ask.
There is a site sellsay.com/keep-me-updated , specifically at this link there is a form for subscribing to the newsletter.
They asked me to make a button with text and an envelope icon.
c145a46f9a8d4d7da3c0c702ba6b10d5.png
Everything I did worked correctly on everything, but then they checked it on the Iphone and then a problem appeared
6c69e159233148b2bbe9b8623344a172.jpeg
. I don’t know what to do, can someone tell me how to solve the problem.
Thank you all in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dom1n1k, 2017-07-23
@dom1n1k

The problem is in the icon - it's not a picture, it's an icon font.
a) no line-height set (set 1)
b) positioning by magic numbers
In general, the layout of the element is overcomplicated for unknown reasons (why is there flex if the icon is positioned absolutely?)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question