[web] avoid ResizeObserver loop when opening logs pane GitOrigin-RevId: fb9c54e137785b34af01d031e182b66969711e41