From b8308f8bc1ab76b8f032587224b91276128db4ce Mon Sep 17 00:00:00 2001 From: Lee Reilly Date: Fri, 4 Mar 2022 15:00:14 -0800 Subject: [PATCH 1/3] Wrap GIF CTA in --- src/components/giphy-toolbar-item.js | 72 ++++++++++++++-------------- 1 file changed, 37 insertions(+), 35 deletions(-) diff --git a/src/components/giphy-toolbar-item.js b/src/components/giphy-toolbar-item.js index e69cf62..c899674 100644 --- a/src/components/giphy-toolbar-item.js +++ b/src/components/giphy-toolbar-item.js @@ -2,40 +2,42 @@ import React from 'dom-chef' export default ( -
- - {'GIF'} - - -
- Select a GIF - -
- -
-
- -
+ +
+ + {'GIF'} + + +
+ Select a GIF +
-
- - -
+ +
+
+ +
+
+
+ + +
+
) From 790f0926f49fb8cac6e2dbf43f0112b12d619379 Mon Sep 17 00:00:00 2001 From: Nick Lockhart Date: Thu, 17 Mar 2022 13:15:43 +1300 Subject: [PATCH 2/3] Remove superfluous `` element wrapper Co-authored-by: Lee Reilly --- src/components/giphy-toolbar-item.js | 72 ++++++++++++++-------------- 1 file changed, 35 insertions(+), 37 deletions(-) diff --git a/src/components/giphy-toolbar-item.js b/src/components/giphy-toolbar-item.js index c899674..19fafec 100644 --- a/src/components/giphy-toolbar-item.js +++ b/src/components/giphy-toolbar-item.js @@ -2,42 +2,40 @@ import React from 'dom-chef' export default ( - -
- - {'GIF'} - - -
- Select a GIF - -
- -
-
- -
+
+ + {'GIF'} + + +
+ Select a GIF + +
+ +
+
+
-
- - -
- +
+
+ + +
) From 8641059e0a12eee0b93aefe0ddaeb1c9a9248d69 Mon Sep 17 00:00:00 2001 From: Nick Lockhart Date: Thu, 17 Mar 2022 13:20:17 +1300 Subject: [PATCH 3/3] Move padding to `` element. Otherwise the `
` element receives the click and doesn't trigger popover. Co-authored-by: Lee Reilly --- src/components/giphy-toolbar-item.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/giphy-toolbar-item.js b/src/components/giphy-toolbar-item.js index 19fafec..a5e7302 100644 --- a/src/components/giphy-toolbar-item.js +++ b/src/components/giphy-toolbar-item.js @@ -2,8 +2,12 @@ import React from 'dom-chef' export default ( -
- +
+ {'GIF'}