There is a max slope in the rules but you need to be pretty silly to break it (like the small front wheel) - UCI limit is that the top tube has to fit in a 16cm horizontal box. In practice for most local races in the US most frames are ok if the wheels are the same size and it has 2 triangles.