The elastic Landau–Levich problem on a slope