Minor CSS fixes for template display.