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
ba60be97
Unverified
Commit
ba60be97
authored
Apr 16, 2020
by
Torkel Ödegaard
Committed by
GitHub
Apr 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UX: Minor style tweaks and fixes (#23614)
* UX: Minor style tweaks and fixes * Updated
parent
9e1bdce5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
18 deletions
+19
-18
public/app/features/dashboard/components/AddPanelWidget/AddPanelWidget.tsx
+7
-3
public/app/features/dashboard/components/AddPanelWidget/_AddPanelWidget.scss
+1
-8
public/app/features/dashboard/components/AddPanelWidget/__snapshots__/AddPanelWidget.test.tsx.snap
+7
-6
public/sass/components/_gf-form.scss
+2
-1
public/sass/components/_navbar.scss
+2
-0
No files found.
public/app/features/dashboard/components/AddPanelWidget/AddPanelWidget.tsx
View file @
ba60be97
...
@@ -164,9 +164,13 @@ export class AddPanelWidgetUnconnected extends React.Component<Props, State> {
...
@@ -164,9 +164,13 @@ export class AddPanelWidgetUnconnected extends React.Component<Props, State> {
<
div
className=
"add-panel-widget__header grid-drag-handle"
>
<
div
className=
"add-panel-widget__header grid-drag-handle"
>
<
Icon
name=
"panel-add"
type=
"mono"
size=
"xl"
style=
{
{
margin
:
'4px'
,
marginRight
:
'8px'
}
}
/>
<
Icon
name=
"panel-add"
type=
"mono"
size=
"xl"
style=
{
{
margin
:
'4px'
,
marginRight
:
'8px'
}
}
/>
<
span
className=
"add-panel-widget__title"
>
New Panel
</
span
>
<
span
className=
"add-panel-widget__title"
>
New Panel
</
span
>
<
button
className=
"add-panel-widget__close"
onClick=
{
this
.
handleCloseAddPanel
}
>
<
div
className=
"flex-grow-1"
></
div
>
<
IconButton
name=
"times"
/>
<
IconButton
</
button
>
name=
"times"
onClick=
{
this
.
handleCloseAddPanel
}
surface=
"header"
className=
"add-panel-widget__close"
/>
</
div
>
</
div
>
<
div
className=
"add-panel-widget__btn-container"
>
<
div
className=
"add-panel-widget__btn-container"
>
<
div
className=
"add-panel-widget__create"
>
<
div
className=
"add-panel-widget__create"
>
...
...
public/app/features/dashboard/components/AddPanelWidget/_AddPanelWidget.scss
View file @
ba60be97
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
.add-panel-widget__header
{
.add-panel-widget__header
{
top
:
0
;
top
:
0
;
position
:
absolute
;
position
:
absolute
;
padding
:
0
15
px
;
padding
:
0
8
px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
width
:
100%
;
width
:
100%
;
...
@@ -54,13 +54,6 @@
...
@@ -54,13 +54,6 @@
}
}
}
}
.add-panel-widget__close
{
margin
:
7px
-10px
0
auto
;
background-color
:
transparent
;
border
:
0
;
font-size
:
16px
;
}
.add-panel-widget__create
{
.add-panel-widget__create
{
display
:
inherit
;
display
:
inherit
;
margin-bottom
:
$space-lg
;
margin-bottom
:
$space-lg
;
...
...
public/app/features/dashboard/components/AddPanelWidget/__snapshots__/AddPanelWidget.test.tsx.snap
View file @
ba60be97
...
@@ -26,14 +26,15 @@ exports[`Render should render component 1`] = `
...
@@ -26,14 +26,15 @@ exports[`Render should render component 1`] = `
>
>
New Panel
New Panel
</span>
</span>
<button
<div
className="flex-grow-1"
/>
<IconButton
className="add-panel-widget__close"
className="add-panel-widget__close"
name="times"
onClick={[Function]}
onClick={[Function]}
>
surface="header"
<IconButton
/>
name="times"
/>
</button>
</div>
</div>
<div
<div
className="add-panel-widget__btn-container"
className="add-panel-widget__btn-container"
...
...
public/sass/components/_gf-form.scss
View file @
ba60be97
...
@@ -194,7 +194,8 @@ $input-border: 1px solid $input-border-color;
...
@@ -194,7 +194,8 @@ $input-border: 1px solid $input-border-color;
@at-root
textarea
#{
&
}
{
@at-root
textarea
#{
&
}
{
overflow
:
auto
;
overflow
:
auto
;
white-space
:
pre-wrap
;
white-space
:
pre-wrap
;
height
:
auto
;
padding
:
6px
$space-sm
;
min-height
:
$input-height
;
}
}
// Unstyle the caret on `<select>`s in IE10+.
// Unstyle the caret on `<select>`s in IE10+.
...
...
public/sass/components/_navbar.scss
View file @
ba60be97
...
@@ -125,6 +125,8 @@ i.navbar-page-btn__search {
...
@@ -125,6 +125,8 @@ i.navbar-page-btn__search {
font-weight
:
$btn-font-weight
;
font-weight
:
$btn-font-weight
;
padding
:
0
$space-sm
;
padding
:
0
$space-sm
;
height
:
32px
;
height
:
32px
;
// 2px less then border
line-height
:
30px
;
color
:
$text-muted
;
color
:
$text-muted
;
border
:
1px
solid
$navbar-button-border
;
border
:
1px
solid
$navbar-button-border
;
margin-left
:
$space-xs
;
margin-left
:
$space-xs
;
...
...
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