Capillarity in diverging elastic channels