mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PublicDashboards: A unique page for public dashboards (#60744)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { css } from '@emotion/css';
|
||||
import React from 'react';
|
||||
|
||||
import { GrafanaTheme2, colorManipulator } from '@grafana/data';
|
||||
import { GrafanaTheme2 } from '@grafana/data';
|
||||
import { useStyles2 } from '@grafana/ui';
|
||||
|
||||
export interface PublicDashboardFooterCfg {
|
||||
@@ -38,14 +38,10 @@ export let getPublicDashboardFooterConfig = (): PublicDashboardFooterCfg => ({
|
||||
|
||||
const getStyles = (theme: GrafanaTheme2) => ({
|
||||
footer: css`
|
||||
position: absolute;
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
height: 30px;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
background-color: ${colorManipulator.alpha(theme.colors.background.canvas, 0.7)};
|
||||
text-align: right;
|
||||
font-size: ${theme.typography.body.fontSize};
|
||||
z-index: ${theme.zIndex.navbarFixed};
|
||||
padding: ${theme.spacing(0, 1, 0, 1)};
|
||||
`,
|
||||
logoText: css`
|
||||
margin-right: ${theme.spacing(1)};
|
||||
|
||||
Reference in New Issue
Block a user