From b5353506f553ce1d906b42df61ae404927aa4128 Mon Sep 17 00:00:00 2001 From: Ryan Keairns Date: Tue, 2 Jan 2024 15:08:29 -0800 Subject: [PATCH] Copy fix and remove extra flex wrappers --- .../components/modals/embed_modal_page.tsx | 16 +------------ .../components/modals/link_modal_page.tsx | 24 ++++++++----------- 2 files changed, 11 insertions(+), 29 deletions(-) diff --git a/src/plugins/share/public/components/modals/embed_modal_page.tsx b/src/plugins/share/public/components/modals/embed_modal_page.tsx index 813b6b9462e63..5cc5cdf913dd3 100644 --- a/src/plugins/share/public/components/modals/embed_modal_page.tsx +++ b/src/plugins/share/public/components/modals/embed_modal_page.tsx @@ -395,20 +395,6 @@ export const EmbedModal: FC = (props: EmbedModalPageProps) /> - {/* - */} - {/* {props.urlParamExtensions && props.urlParamExtensions?.map(({paramName}) => { */} - {/* setParamValue('embed')}> - - */} - {/* })} */} - {/* - - - - - - */} @@ -423,7 +409,7 @@ export const EmbedModal: FC = (props: EmbedModalPageProps) setParamValue('embed')}> - + diff --git a/src/plugins/share/public/components/modals/link_modal_page.tsx b/src/plugins/share/public/components/modals/link_modal_page.tsx index 498f0751d1074..2fa35235edea6 100644 --- a/src/plugins/share/public/components/modals/link_modal_page.tsx +++ b/src/plugins/share/public/components/modals/link_modal_page.tsx @@ -393,21 +393,17 @@ export const LinkModal: FC = (props: LinksModalPageProps) = - + {allowShortUrl && renderShortUrlSwitch()} - - - - - - - - - copyLink()}> - - - - + + + + + + + copyLink()}> + +