I haven’t used them myself but you can get gap covers https://www.amazon.com/Stove-Gap-Covers-Stainless-Countertop/dp/B09XK964LN/
They make silicone ones as well.