gabrielf11 / gabrielf11.github.io-old

A little website made by GabrielF11.
https://gabrielf11.github.io
GNU General Public License v3.0
2 stars 0 forks source link

Fix navbar dropdown UI issue #11

Closed gabrielf11 closed 3 years ago

gabrielf11 commented 3 years ago

On the navbar, since it's made with bootstrap, I'm not sure how to change the distance between the navbar and the navbar dropdown. Because of this, on most browsers, the dropdown overlaps with navbar. Here's a picture: unknown Does anyone know how to fix this?

ghost commented 3 years ago

Try adding padding-top: ##px; to the CSS for the navbar dropdown box element, 5 or 10px should be good enough, I think. (I could also try making a pull request if you want).

gabrielf11 commented 3 years ago

Ok. I'll try that. Thanks for the help!

gabrielf11 commented 3 years ago

Ok, so after some testing I found that margin-top: 10px; worked, but for some reason if I add that to the style.css or the