You may have noticed some of the icons on the Taskbar are animated. That being the case, the size of the Taskbar may need to be specifically set to allow for such animations.
The fact your up arrow is higher than the other icons is or was an issue with some folks. But from what I can tell, you can't resize the taskbar.
Can we assume your system is fully Win 11 qualified?