Width is restoring, but font size is not
That’s because you have a wrong case there:
fontsize:"10px",
should be:
fontSize:"10px",
And also replace “10px” with “100%” if you want to restore initial font size
Width is restoring, but font size is not
That’s because you have a wrong case there:
fontsize:"10px",
should be:
fontSize:"10px",
And also replace “10px” with “100%” if you want to restore initial font size