Lay out wp attributes using CSS flexible boxes

This implementation stops long attribute values from "breaking" the
layout.

Bug # 14596

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Do not allow wp attributes in details view to wrap

Bug # 14596

Signed-off-by: Alex Coles <alex@alexbcoles.com>