Hi,
If you're trying to make the icons smaller, I believe there's already an option to do that. Just head to Settings > Personalization > Taskbar > Taskbar behavior > Show smaller taskbar buttons and set it to Always.
If not, please provide more details to the issue so I can check what possible solutions to suggest.