nestjs / nestjs.com

The official website https://nestjs.com 🏆
https://nestjs.com
MIT License
138 stars 24 forks source link

fix footer #44

Closed Arhell closed 3 years ago

Arhell commented 3 years ago

fix issue https://github.com/nestjs/nestjs.com/issues/43

Arhell commented 3 years ago

cc @kamilmysliwiec after fix too much padding, after fixing the content is more centered and there is no scrolling

kamilmysliwiec commented 3 years ago

I'm not sure how changing the padding value would address this issue. The page-footer element has box-sizing: border-box; which means that setting padding won't affect its overall width (in this case).

Arhell commented 3 years ago

I'm not sure how changing the padding value would address this issue. The page-footer element has box-sizing: border-box; which means that setting padding won't affect its overall width (in this case).

You are right, but the footer already has padding in the container, because of this, at 768 it is 40 pixels (this amount on both sides) + 30 pixels for the container and its 750 width gives more than 768 and because of this a little scrolling appears + content is not strongly centered.

Try to look at the container in 768 in the browser and see that it is shifted to the right on the main site https://nestjs.com/

kamilmysliwiec commented 3 years ago

Makes sense! Thanks