mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 04:59:15 -06:00
ux(query_editors): handle text overflow in collapsed mode
This commit is contained in:
parent
4c4835e869
commit
1069f485da
@ -10,7 +10,7 @@
|
||||
</label>
|
||||
</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">
|
||||
<label class="gf-form-label pointer gf-form-label--grow" ng-click="ctrl.toggleCollapse()">
|
||||
{{ctrl.collapsedText}}
|
||||
|
@ -220,6 +220,18 @@ $gf-form-margin: 0.25rem;
|
||||
|
||||
.gf-form-query-content {
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user