mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PublicDashboards: Footer alignment fix for Firefox browser (#62108)
footer x axis aligment fixed
This commit is contained in:
@@ -17,11 +17,9 @@ export const PublicDashboardFooter = function () {
|
||||
|
||||
return conf.hide ? null : (
|
||||
<div className={styles.footer}>
|
||||
<span className={styles.logoText}>
|
||||
<a href={conf.link} target="_blank" rel="noreferrer noopener">
|
||||
<a className={styles.link} href={conf.link} target="_blank" rel="noreferrer noopener">
|
||||
{conf.text} <img className={styles.logoImg} alt="" src={conf.logo}></img>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user