use inline-block instead of float to better wrap branches