From 716bacf0c1aa9b9e4c9f2672be715ec00a04e2bc Mon Sep 17 00:00:00 2001 From: Adrienne Walker Date: Sat, 25 Jul 2020 10:34:09 -0700 Subject: [PATCH] Start targetbars hidden to avoid a flash when starting Also, switch from display:none to visibility:hidden to avoid layout problems in the targetbars.js:447 "alignment hack" when elements are not taking up space in the layout. --- OverlayPlugin.Core/resources/targetbars/focus_target.html | 2 +- OverlayPlugin.Core/resources/targetbars/hover_target.html | 2 +- OverlayPlugin.Core/resources/targetbars/target.html | 2 +- OverlayPlugin.Core/resources/targetbars/target_of_target.html | 2 +- OverlayPlugin.Core/resources/targetbars/targetbars.css | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OverlayPlugin.Core/resources/targetbars/focus_target.html b/OverlayPlugin.Core/resources/targetbars/focus_target.html index b4df5801b..d1106f963 100644 --- a/OverlayPlugin.Core/resources/targetbars/focus_target.html +++ b/OverlayPlugin.Core/resources/targetbars/focus_target.html @@ -9,7 +9,7 @@ -
+
diff --git a/OverlayPlugin.Core/resources/targetbars/hover_target.html b/OverlayPlugin.Core/resources/targetbars/hover_target.html index 596578095..7458733b5 100644 --- a/OverlayPlugin.Core/resources/targetbars/hover_target.html +++ b/OverlayPlugin.Core/resources/targetbars/hover_target.html @@ -9,7 +9,7 @@ -
+
diff --git a/OverlayPlugin.Core/resources/targetbars/target.html b/OverlayPlugin.Core/resources/targetbars/target.html index 3d240841e..554862976 100644 --- a/OverlayPlugin.Core/resources/targetbars/target.html +++ b/OverlayPlugin.Core/resources/targetbars/target.html @@ -9,7 +9,7 @@ -
+
diff --git a/OverlayPlugin.Core/resources/targetbars/target_of_target.html b/OverlayPlugin.Core/resources/targetbars/target_of_target.html index 1481e2b8b..062319360 100644 --- a/OverlayPlugin.Core/resources/targetbars/target_of_target.html +++ b/OverlayPlugin.Core/resources/targetbars/target_of_target.html @@ -9,7 +9,7 @@ -
+
diff --git a/OverlayPlugin.Core/resources/targetbars/targetbars.css b/OverlayPlugin.Core/resources/targetbars/targetbars.css index de40dc672..24ed299c9 100644 --- a/OverlayPlugin.Core/resources/targetbars/targetbars.css +++ b/OverlayPlugin.Core/resources/targetbars/targetbars.css @@ -7,7 +7,7 @@ html { } .hidden { - display: none !important; + visibility: hidden !important; } .rounded {