Fix white spaces inside navigation

Ticket No : https://openedx.atlassian.net/browse/TNL-964

Related to css white space property which describes how white spaces inside the element is handled.