Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
6d879a02
Unverified
Commit
6d879a02
authored
Feb 13, 2020
by
Torkel Ödegaard
Committed by
GitHub
Feb 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NewPanelEdit: Design tweaks (#22156)
* NewPanelEdit: minor design tweak * Updated
parent
8641b913
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
9 deletions
+7
-9
public/app/features/dashboard/components/PanelEditor/OptionsGroup.tsx
+1
-1
public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx
+4
-5
public/app/features/dashboard/components/PanelEditor/PanelEditorTabs.tsx
+2
-3
No files found.
public/app/features/dashboard/components/PanelEditor/OptionsGroup.tsx
View file @
6d879a02
...
...
@@ -8,7 +8,7 @@ interface Props {
}
export
const
OptionsGroup
:
FC
<
Props
>
=
({
title
,
children
})
=>
{
const
[
isExpanded
,
toggleExpand
]
=
useState
(
fals
e
);
const
[
isExpanded
,
toggleExpand
]
=
useState
(
tru
e
);
const
theme
=
useTheme
();
const
styles
=
getStyles
(
theme
);
...
...
public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx
View file @
6d879a02
...
...
@@ -340,9 +340,9 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => {
right: 0;
bottom: 0;
background:
${
background
}
;
padding:
${
theme
.
spacing
.
sm
}
;
`
,
panelWrapper
:
css
`
padding: 0 2px 2px
${
theme
.
spacing
.
sm
}
;
width: 100%;
height: 100%;
`
,
...
...
@@ -373,13 +373,12 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => {
height: 100%;
width: 100%;
background:
${
theme
.
colors
.
pageBg
}
;
border
-top
: 1px solid
${
theme
.
colors
.
pageHeaderBorder
}
;
border-
left: 1px solid
${
theme
.
colors
.
pageHeaderBorder
}
;
border: 1px solid
${
theme
.
colors
.
pageHeaderBorder
}
;
border-
bottom: none
;
`
,
toolbar
:
css
`
padding:
${
theme
.
spacing
.
sm
}
;
height: 55px;
display: flex;
padding-bottom:
${
theme
.
spacing
.
sm
}
;
justify-content: space-between;
`
,
editorBody
:
css
`
...
...
public/app/features/dashboard/components/PanelEditor/PanelEditorTabs.tsx
View file @
6d879a02
...
...
@@ -62,9 +62,7 @@ const getPanelEditorTabsStyles = stylesFactory(() => {
flex-direction: column;
height: 100%;
`
,
tabBar
:
css
`
padding: 0
${
theme
.
spacing
.
sm
}
;
`
,
tabBar
:
css
``
,
tabContent
:
css
`
padding: 0;
display: flex;
...
...
@@ -73,6 +71,7 @@ const getPanelEditorTabsStyles = stylesFactory(() => {
min-height: 0;
background:
${
theme
.
colors
.
pageBg
}
;
border-right: 1px solid
${
theme
.
colors
.
pageHeaderBorder
}
;
border-left: 1px solid
${
theme
.
colors
.
pageHeaderBorder
}
;
.toolbar {
background: transparent;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment