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
8b70a8dd
Commit
8b70a8dd
authored
Jan 29, 2019
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed explore query editor styling issues
parent
6dad4cce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
public/app/plugins/datasource/prometheus/components/PromQueryField.tsx
+11
-11
public/sass/components/_gf-form.scss
+1
-1
public/sass/components/_slate_editor.scss
+1
-1
No files found.
public/app/plugins/datasource/prometheus/components/PromQueryField.tsx
View file @
8b70a8dd
...
...
@@ -257,18 +257,18 @@ class PromQueryField extends React.PureComponent<PromQueryFieldProps, PromQueryF
syntaxLoaded=
{
syntaxLoaded
}
/>
</
div
>
{
error
?
<
div
className=
"prom-query-field-info text-error"
>
{
error
}
</
div
>
:
null
}
{
hint
?
(
<
div
className=
"prom-query-field-info text-warning"
>
{
hint
.
label
}{
' '
}
{
hint
.
fix
?
(
<
a
className=
"text-link muted"
onClick=
{
this
.
onClickHintFix
}
>
{
hint
.
fix
.
label
}
</
a
>
)
:
null
}
</
div
>
)
:
null
}
</
div
>
{
error
?
<
div
className=
"prom-query-field-info text-error"
>
{
error
}
</
div
>
:
null
}
{
hint
?
(
<
div
className=
"prom-query-field-info text-warning"
>
{
hint
.
label
}{
' '
}
{
hint
.
fix
?
(
<
a
className=
"text-link muted"
onClick=
{
this
.
onClickHintFix
}
>
{
hint
.
fix
.
label
}
</
a
>
)
:
null
}
</
div
>
)
:
null
}
</>
);
}
...
...
public/sass/components/_gf-form.scss
View file @
8b70a8dd
...
...
@@ -5,7 +5,7 @@ $input-border: 1px solid $input-border-color;
margin-bottom
:
$gf-form-margin
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
align-items
:
flex-start
;
text-align
:
left
;
position
:
relative
;
...
...
public/sass/components/_slate_editor.scss
View file @
8b70a8dd
...
...
@@ -9,7 +9,7 @@
position
:
relative
;
display
:
inline-block
;
padding
:
$input-padding-y
$input-padding-x
;
height
:
$gf-form-input-height
;
min-
height
:
$gf-form-input-height
;
width
:
100%
;
cursor
:
text
;
line-height
:
$line-height-base
;
...
...
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