Элемент поля формы центрального мата внутри гибкого родительского элемента ⇐ CSS

Разбираемся в CSS
Гость
Элемент поля формы центрального мата внутри гибкого родительского элемента

Сообщение Гость »


I have a flex parent containing some buttons and a mat form field.

.toolbar { display: flex; justify-content: space-between; flex-direction: row; align-items: center; } menu Search search

all elements inside toolbar are at the center, but only mat form field stay at the top of the element.

How could I fix it ? and why the element is not getting centered ?


Источник: https://stackoverflow.com/questions/781 ... lex-parent

Вернуться в «CSS»