Как выровнять текст внутри LI в центр li { display: flex; flex-direction: row; align-items: center; }