From da00df8e5ca0f2ff08fa7ebab6b7f3984e3244c2 Mon Sep 17 00:00:00 2001 From: Ivan Ortega Alba Date: Fri, 12 May 2023 18:03:25 +0200 Subject: [PATCH] DS Picker: Align open advanced button to right (#68394) --- .../components/picker/DataSourceDropdown.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/public/app/features/datasources/components/picker/DataSourceDropdown.tsx b/public/app/features/datasources/components/picker/DataSourceDropdown.tsx index 3f7a5487936..4038aaf1f25 100644 --- a/public/app/features/datasources/components/picker/DataSourceDropdown.tsx +++ b/public/app/features/datasources/components/picker/DataSourceDropdown.tsx @@ -222,11 +222,6 @@ const PickerContent = React.forwardRef((prop } >
- {onClickAddCSV && config.featureToggles.editPanelCSVDragAndDrop && ( - - )} {({ showModal, hideModal }) => ( )} + {onClickAddCSV && config.featureToggles.editPanelCSVDragAndDrop && ( + + )}
); @@ -280,6 +280,7 @@ function getStylesPickerContent(theme: GrafanaTheme2) { footer: css` flex: 0; display: flex; + flex-direction: row-reverse; justify-content: space-between; padding: ${theme.spacing(1.5)}; border-top: 1px solid ${theme.colors.border.weak};