Fix for WICKET-4831

Reverted CSS class changes