C
C
Cyril2020-05-25 14:20:20
css
Cyril, 2020-05-25 14:20:20

How to overcome different rendering of align-item property in firefox and chrome?

There is such a problem, I embed an icon in the svg buttons, it has a property display: inline-flex; align-items: center;
. In chrome, everything is centered normally, and in FireFox the inscription is shifted to the end of the block, as if flex-end.
What is the problem, and how to overcome it?

UPD: Link to PEN

Screenshots

Хром5ecba9ae48d99945461384.jpeg
Лиса5ecba9b623115229759721.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai, 2020-05-25
@Delta01

just trydisplay: flex

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question