Fix text and styling on diameter calculator.

Fixes #872