From e46aa2e4e610c76280ec65fd824d51a91be80feb Mon Sep 17 00:00:00 2001 From: juanicabanas Date: Wed, 25 Jan 2023 11:30:42 -0300 Subject: [PATCH] PublicDashboards: Footer alignment fix for Firefox browser (#62108) footer x axis aligment fixed --- .../PublicDashboardsFooter.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/public/app/features/dashboard/components/PublicDashboardFooter/PublicDashboardsFooter.tsx b/public/app/features/dashboard/components/PublicDashboardFooter/PublicDashboardsFooter.tsx index 69b004a959f..4b65096307d 100644 --- a/public/app/features/dashboard/components/PublicDashboardFooter/PublicDashboardsFooter.tsx +++ b/public/app/features/dashboard/components/PublicDashboardFooter/PublicDashboardsFooter.tsx @@ -17,11 +17,9 @@ export const PublicDashboardFooter = function () { return conf.hide ? null : (
- - - {conf.text} - - + + {conf.text} +
); }; @@ -41,10 +39,13 @@ const getStyles = (theme: GrafanaTheme2) => ({ display: flex; justify-content: end; height: 30px; - padding: ${theme.spacing(0, 1, 0, 1)}; + padding: ${theme.spacing(0, 2, 0, 1)}; `, - logoText: css` - margin-right: ${theme.spacing(1)}; + link: css` + display: flex; + gap: 4px; + justify-content: end; + align-items: center; `, logoImg: css` height: 100%;