fixes #5577 Style issues on multi content container tab bar

Fixed the issue and pushed the code for review, please check it.