From 1cbda7fe0e41ed5b613578e38f98ef7ad13df399 Mon Sep 17 00:00:00 2001 From: Nick Bernal Date: Mon, 24 Mar 2025 15:17:36 -0700 Subject: [PATCH] Fix flickering when hasInitializedLocations gets toggled on and off --- packages/superdoc/src/SuperDoc.vue | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/packages/superdoc/src/SuperDoc.vue b/packages/superdoc/src/SuperDoc.vue index 36ccd109b1..1cdf802681 100644 --- a/packages/superdoc/src/SuperDoc.vue +++ b/packages/superdoc/src/SuperDoc.vue @@ -581,7 +581,6 @@ watch(getFloatingComments, () => { @@ -606,6 +606,10 @@ watch(getFloatingComments, () => { display: flex; } +.floating-comments { + min-width: 300px; +} + .superdoc--with-sidebar { /* */ } .superdoc__layers { @@ -645,6 +649,7 @@ watch(getFloatingComments, () => { .superdoc__right-sidebar { width: 320px; + min-width: 320px; padding: 0 10px; min-height: 100%; position: relative;