From 87ed411c05f6fe3bea0f7f7dc55f0d62b0b3a9e0 Mon Sep 17 00:00:00 2001 From: Tom Richards Date: Mon, 28 Oct 2024 10:17:45 +0000 Subject: [PATCH] [newswires] ensure 'add selection' buttons don't ever burst out of container, by detecting left vs right and shifting the position accordingly --- bootstrapping-lambda/local/index.html | 54 ++++++++++--------- client/src/newswires/newswiresIntegration.tsx | 50 ++++++++++------- 2 files changed, 60 insertions(+), 44 deletions(-) diff --git a/bootstrapping-lambda/local/index.html b/bootstrapping-lambda/local/index.html index 4d5bda1b..c85862bd 100644 --- a/bootstrapping-lambda/local/index.html +++ b/bootstrapping-lambda/local/index.html @@ -21,32 +21,6 @@ -
-

not inside target

-

Not inside target

-
-

Pinboard selection target

-

- This is a target for the Pinboard library to render the selection - interface into. It will be hidden by the library when not in use. This - is a target for the Pinboard library to render the selection interface - into. It will be hidden by the library when not in use. This is a target - for the Pinboard library to render the selection interface into. It will - be hidden by the library when not in use. This is a target for the - Pinboard library to render the selection interface into. It will be - hidden by the library when not in use. This is a target for the Pinboard - library to render the selection interface into. It will be hidden by the - library when not in use. This is a target for the Pinboard library to - render the selection interface into. It will be hidden by the library - when not in use. -

-
-

not inside target

- -
Expand pinboard via query param ?expandPinboard=true @@ -175,6 +149,34 @@

presented after 1 second

and Pinboard detecting that and still taking over the element

+
+

Pinboard selection target

+
+

+ This is a target for the Pinboard library to render + the selection interface into. It will be hidden by the library when + not in use. This is a target for the Pinboard library to + render the selection interface into. It will be hidden by the library + when not in use. This is a target for the + Pinboard library to render the selection interface + into. It will be hidden by the library when not in use. +

+

+ This is a target for the Pinboard library to render the + selection interface into. It will be hidden by the library when not in + use. This is a target for the Pinboard library to + render the selection interface into. It will be hidden by the library + when not in use. This is a target for the Pinboard library to + render the selection interface into. It will be hidden by the library + when not in use. +

+
+
+ +