Ensure basket quantity links don't wrap

Part of #1148