Javascript Css Flex Display Is Not Aligning Vertically The Element

Javascript Css Flex Display Is Not Aligning Vertically The Element