The rendering between desktop and server isn't always identical.
Stretch that legend object even longer.
Or reformat the legend so that it gets split into two lines. (You can do that.)
In addition to Joe's suggestion; it appears you have too much white space between the legend items. So, place your cursor to the left of each color icon and drag backwards.