It's not bad to leave your phone charging all day.
In fact, to preserve the health of your phone's battery, it is recommended to keep its charge between 20% and 80%. So it's perfectly acceptable to leave it plugged in during the day, whether at home or in the office.
This also avoids full charge cycles, which can contribute to premature battery wear.