updating sidebar style to better handle long strings