There is. From your ICRC FAQs:
Principle of proportionality: IHL prohibits attacks that may be expected to cause excessive incidental civilian harm in relation to the concrete and direct military advantage anticipated.
Direct military advantage that I posted about, cannot be defined as the overall strategic objectives of the war but the direct, immediate and tactical advantage gained for that particular operation, balanced against the civilian deaths incurred in such an operation.
"Let me quote the rest of that for you
The IHL rules on conduct of hostilities aim to strike a balance between military necessity and humanity, seeking mainly to protect civilians from attacks and the effects of hostilities.
Principle of distinction: Parties to an armed conflict must "at all times distinguish between the civilian population and combatants and between civilian objects and military objectives and accordingly shall direct their operations only against military objectives".
IHL prohibits attacks directed against civilians, as well as indiscriminate attacks, namely those that strike military objectives and civilians or civilian objects without distinction.
Principle of proportionality: IHL prohibits attacks that may be expected to cause excessive incidental civilian harm in relation to the concrete and direct military advantage anticipated.
In the conduct of hostilities, causing incidental harm to civilians and civilian objects is often unavoidable.
However, IHL places a limit on the extent of incidental harm that is permissible by spelling out how military necessity and considerations of humanity must be balanced in such situations.
Principle of precaution:
In the conduct of military operations, constant care must be taken to spare the civilian population, civilians and civilian objects. All feasible precautions must be taken to avoid, and in any event to minimize, incidental loss of civilian life, injury to civilians and damage to civilian objects.
Given the significant risk of harm to civilians whenever the military is executing an attack, IHL imposes detailed obligations to those planning, deciding on or carrying out attacks. It also requires parties to the conflict to
protect civilians and civilian objects under their control against the effects of attacks. "
Which Israel has been doing, they have been very successful in dropping the civilian to combatent death ratio about 1/4 or less than the standard and lower than the US was able to do.
It's war, people die, they have been doing everything they can to prevent it, Hamas has been doing everything they can to get their people killed.
The rules say nothing about how all civilian deaths must be avoided, and unlike what the terb hate crew claims, civilian deaths are not evidence of genocide or ethnic cleansing.
The only way Israel could do more is to refuse to fight anyone who refuses to fight out in the open. They might as well just disband their military. No other signatory of the GC would go that far. When Russia lobs missles into cities, that is considered a dick more. Civilians who die in street fighting... maternal fornicators should have left before the fighting started.
But again none of this applies because Hamas gives no fucks about the Geneva conventions so they don't apply.