#13325 - Changed last-child to first-child

Fixes incorrect margin fix as the right most element will actually be the first in the DOM.
As noted by @jerem