I have a flexdashboard where I would like the active page on the navbar to be highlighted. As can be seen in the image below, the background colour has been added but it does not span the height of the navbar. How can I achieve this with custom CSS?

I am using the Cosmo theme for flexdashboard.