Created by: rubenmoya
Hi all!
The &:last-child
in the sidebar__link
wasn't working properly since the link is inside an li
so it's always the last item and the padding was always applied and the space between items was too big.
I solved it by adding a new class sidebar__item
to the li
and moving the :last-child
to it. I also changed the paddings to margins, so you only can click the item when you press the link and not the space above it.