I tried to resize the solenoid valve part because the schematic view was too big. When resizing, the breadboard view breaks for some reason.
Could someone verify if this happens when you try to resize it?
How did you try and resize it? You need to modify the schematic svg (correctly) to do so. The part listed appears to work correctly, you would need to upload the modified part before we could tell you what is wrong with it.
There are a number of problems (mostly in the original part!) The svgs are dimensioned in px (probably at 72DPI) which if edited via current Inkscape will be the incorrect scale (because current Inkscape is 96DPI.) After that the internals of the part are also not correct. The breadboard svg got modified somehow between the original part
that may be parts editor objecting to svg elements it doesn’t understand. To fix this I started with the original part and corrected all the problems (and created a new schematic entirely) which results in this part, which is now correct: