Source · the work in full

Rashi on the Pentateuch

PD · trans. M. Rosenbaum & A. M. Silbermann (London, 1929–1934)
Chapter 36

Exodus 36

מדי העבדה means more than is sufficient for the needs of the work.

ויכלא is an expression for withholding.

והמלאכה היתה דים (lit., and the work was their sufficiency — was enough for them — for all the work) — this means the work of contributing was the sufficiency of (was enough for) the workers at the Tabernacle, for all the work connected with the Tabernacle to make it and even to leave some over.
והותר is an infinitive similar to, (Exodus 8:11) “[But when Pharaoh saw that there was respite] he allowed his heart to be hardened (והכבד‎)”; (2 Kings 3:24) “and they smote (והכות) Moab” (infinitives used in perfect sense).

You arrive at the cited line; the whole work is yours to read around it. The text is set from the cited public-domain edition.