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
1069f485
Commit
1069f485
authored
Apr 17, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(query_editors): handle text overflow in collapsed mode
parent
4c4835e8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
+13
-1
public/app/features/panel/partials/query_editor_row.html
+1
-1
public/sass/components/_gf-form.scss
+12
-0
No files found.
public/app/features/panel/partials/query_editor_row.html
View file @
1069f485
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</label>
</label>
</div>
</div>
<div
class=
"gf-form-query-content"
ng-if=
"ctrl.collapsed"
>
<div
class=
"gf-form-query-content
gf-form-query-content--collapsed
"
ng-if=
"ctrl.collapsed"
>
<div
class=
"gf-form"
>
<div
class=
"gf-form"
>
<label
class=
"gf-form-label pointer gf-form-label--grow"
ng-click=
"ctrl.toggleCollapse()"
>
<label
class=
"gf-form-label pointer gf-form-label--grow"
ng-click=
"ctrl.toggleCollapse()"
>
{{ctrl.collapsedText}}
{{ctrl.collapsedText}}
...
...
public/sass/components/_gf-form.scss
View file @
1069f485
...
@@ -220,6 +220,18 @@ $gf-form-margin: 0.25rem;
...
@@ -220,6 +220,18 @@ $gf-form-margin: 0.25rem;
.gf-form-query-content
{
.gf-form-query-content
{
flex-grow
:
1
;
flex-grow
:
1
;
overflow
:
hidden
;
&
--collapsed
{
overflow
:
hidden
;
.gf-form-label
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
width
:
100%
;
white-space
:
nowrap
;
}
}
}
}
.gf-form-help-icon
{
.gf-form-help-icon
{
...
...
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