Closed MrPrecise closed 3 years ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
I can't get allign-self to work. I tried align:"center" with no sucess. Regardless I thought the navbar was a set size. Meaning if it don't scale I could just hardcode a padding.
I can't get allign-self to work. I tried align:"center" with no sucess. Regardless I thought the navbar was a set size. Meaning if it don't scale I could just hardcode a padding.
Inline styling in JSX is a bit different then regular and uses camel case so it would be alignSelf: "center" instead.
The wrapper also need to be of: display: "flex" to use "align self". If this messes up the styling you can merge in with padding👍
With using display: "flex" gives me the opposite, I'll merge this with the hard set padding. If it yield problems in the future with this hard set padding, then I will look into another way to do it.
Added padding to move navbar to a more suited location