Wish from user at QGIS User Conference 2023. QGIS does this when zooming to a feature, the outermost vertices never touch the borders of the map canvas.