Easy-- Open lua\sui_scoreboard\player_row.lua, then find the line:
function PANEL:UpdatePlayerData()
(around line #120)
Then in that function, find this line of code:
self.lblTeam:SetText( team.GetName(self.Player:Team()) )
...And then add this line of code right under that line:
self.lblTeam:SizeToContents()
I haven't tested it (I'm at work right now), but I'm 90% sure it should work