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
2908c6a8
Commit
2908c6a8
authored
Sep 30, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(metricsegment): added min width for inputs for metric segment and value select components
parent
fe4a0a98
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
public/app/core/directives/metric_segment.js
+1
-1
public/app/core/directives/value_select_dropdown.js
+1
-1
public/app/partials/valueSelectDropdown.html
+1
-1
No files found.
public/app/core/directives/metric_segment.js
View file @
2908c6a8
...
@@ -136,7 +136,7 @@ function (_, $, coreModule) {
...
@@ -136,7 +136,7 @@ function (_, $, coreModule) {
$button
.
click
(
function
()
{
$button
.
click
(
function
()
{
options
=
null
;
options
=
null
;
$input
.
css
(
'width'
,
(
$button
.
width
(
)
+
16
)
+
'px'
);
$input
.
css
(
'width'
,
(
Math
.
max
(
$button
.
width
(),
80
)
+
16
)
+
'px'
);
$button
.
hide
();
$button
.
hide
();
$input
.
show
();
$input
.
show
();
...
...
public/app/core/directives/value_select_dropdown.js
View file @
2908c6a8
...
@@ -236,7 +236,7 @@ function (angular, _, coreModule) {
...
@@ -236,7 +236,7 @@ function (angular, _, coreModule) {
var
inputEl
=
elem
.
find
(
'input'
);
var
inputEl
=
elem
.
find
(
'input'
);
function
openDropdown
()
{
function
openDropdown
()
{
inputEl
.
css
(
'width'
,
Math
.
max
(
linkEl
.
width
(),
3
0
)
+
'px'
);
inputEl
.
css
(
'width'
,
Math
.
max
(
linkEl
.
width
(),
8
0
)
+
'px'
);
inputEl
.
show
();
inputEl
.
show
();
linkEl
.
hide
();
linkEl
.
hide
();
...
...
public/app/partials/valueSelectDropdown.html
View file @
2908c6a8
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<i
class=
"fa fa-caret-down"
></i>
<i
class=
"fa fa-caret-down"
></i>
</a>
</a>
<input
type=
"text"
class=
"
hidden-input input-small
gf-form-input"
style=
"display: none"
ng-keydown=
"vm.keyDown($event)"
ng-model=
"vm.search.query"
ng-change=
"vm.queryChanged()"
></input>
<input
type=
"text"
class=
"gf-form-input"
style=
"display: none"
ng-keydown=
"vm.keyDown($event)"
ng-model=
"vm.search.query"
ng-change=
"vm.queryChanged()"
></input>
<div
class=
"variable-value-dropdown"
ng-if=
"vm.dropdownVisible"
ng-class=
"{'multi': vm.variable.multi, 'single': !vm.variable.multi}"
>
<div
class=
"variable-value-dropdown"
ng-if=
"vm.dropdownVisible"
ng-class=
"{'multi': vm.variable.multi, 'single': !vm.variable.multi}"
>
<div
class=
"variable-options-wrapper"
>
<div
class=
"variable-options-wrapper"
>
...
...
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