Lego Worlds

mobile nav build

Posted by Taylor Bernard on June 29, 2015

up on server. under:

/rifle

one little bug. i'm using inset border method rather than padding with a bg color that i did on the main nav. should be a better way. but for some reason its adding in a default height of the div even if i specify it auto.
so if you take out all country containers, just having that div with the border, it will make it like 10px tall, so its adding like 5px top (not including border) and bottom.
you can see where its adding in that extra height after last country container.

also, i made another country container div without bottom border to be used for the last one in the chain, but it keeps inheriting that bottom 1px grey border for some reason.