I'm trying to include images along with explanations.
Intended outcome: https://i.sstatic.net/B90hB.png
https://i.sstatic.net/LTp2j.png
https://i.sstatic.net/QvIux.png
Current disappointing result: (not centered) https://i.sstatic.net/gFXZP.png
https://i.sstatic.net/qPOLK.png
The last image almost aligns in the center but falls short. I am utilizing CSS grid and React MDL frameworks. I will also share my code below. Thank you!
import React from "react";
// rest of the code...
.app-content {
background: #f1f2f6;
// rest of the styles...
}
.navbar-header {
background: #2484c4;
// rest of the styles...
}
// other styling codes...
import React from "react";
// rest of the code...
I have included all the necessary components. Despite attempting various solutions, none seem to work for me. It's puzzling since I consistently vertically align elements using this method; perhaps it's related to the React MDL framework.