From e37140dcd06d7ecca2ee53116c0d65064e64f5e6 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Wed, 6 Jul 2022 12:50:38 +0100 Subject: [PATCH] chore: minor styling change for clipboard modal --- src/controllers/modals/components/Clipboard.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/controllers/modals/components/Clipboard.tsx b/src/controllers/modals/components/Clipboard.tsx index 0361eb8e..8758319f 100644 --- a/src/controllers/modals/components/Clipboard.tsx +++ b/src/controllers/modals/components/Clipboard.tsx @@ -11,6 +11,11 @@ export default function Clipboard({ text, ...props }: ModalProps<"clipboard">) { } + description={ + location.protocol !== "https:" ? ( + + ) : undefined + } actions={[ { onClick: noopTrue, @@ -18,11 +23,6 @@ export default function Clipboard({ text, ...props }: ModalProps<"clipboard">) { children: , }, ]}> - {location.protocol !== "https:" && ( -

- -

- )} {" "} {text}