When my varicose vein is acting up I put on my thigh-high compression stocking. That overlaps with the shorts, and the shorts compression just fades into the background.

Vein calms down, I get to ride my bike.

It's all good!