(cherry picked from commit f3475b864c)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
co-authored by
Ashley Harrison
parent
e69544b6ea
commit
91db8910a7
@@ -100,7 +100,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
||||
container: css`
|
||||
display: none;
|
||||
|
||||
@media ${theme.breakpoints.up('md')} {
|
||||
${theme.breakpoints.up('md')} {
|
||||
display: block;
|
||||
margin-bottom: ${theme.spacing(2)};
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
||||
width: ${theme.components.sidemenu.width}px;
|
||||
z-index: ${theme.zIndex.sidemenu};
|
||||
|
||||
@media ${theme.breakpoints.up('md')} {
|
||||
${theme.breakpoints.up('md')} {
|
||||
background-color: ${theme.colors.background.primary};
|
||||
position: relative;
|
||||
}
|
||||
@@ -94,7 +94,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
||||
width: ${theme.spacing(3.5)};
|
||||
}
|
||||
|
||||
@media ${theme.breakpoints.up('md')} {
|
||||
${theme.breakpoints.up('md')} {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -116,7 +116,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
||||
justify-content: space-between;
|
||||
padding: ${theme.spacing(2)};
|
||||
|
||||
@media ${theme.breakpoints.up('md')} {
|
||||
${theme.breakpoints.up('md')} {
|
||||
display: none;
|
||||
}
|
||||
`,
|
||||
|
||||
@@ -86,7 +86,7 @@ const getStyles = (theme: GrafanaTheme2, isActive: Props['isActive']) => ({
|
||||
}
|
||||
}
|
||||
|
||||
@media ${theme.breakpoints.up('md')} {
|
||||
${theme.breakpoints.up('md')} {
|
||||
color: ${isActive ? theme.colors.text.primary : theme.colors.text.secondary};
|
||||
|
||||
&:hover {
|
||||
|
||||
@@ -52,7 +52,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
||||
display: none;
|
||||
flex-grow: 1;
|
||||
|
||||
@media ${theme.breakpoints.up('md')} {
|
||||
${theme.breakpoints.up('md')} {
|
||||
display: block;
|
||||
margin-top: ${theme.spacing(5)};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user