Fix UI bug on long service name
This commit is contained in:
parent
134a767a7f
commit
0d15ac8861
5 changed files with 18 additions and 4 deletions
|
@ -231,8 +231,9 @@
|
||||||
<div class="text-subtitle2">Service</div>
|
<div class="text-subtitle2">Service</div>
|
||||||
<q-chip
|
<q-chip
|
||||||
dense
|
dense
|
||||||
class="app-chip app-chip-green">
|
class="app-chip app-chip-green app-chip-overflow">
|
||||||
{{ exData(middleware).service }}
|
{{ exData(middleware).service }}
|
||||||
|
<q-tooltip>{{ exData(middleware).service }}</q-tooltip>
|
||||||
</q-chip>
|
</q-chip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -21,8 +21,9 @@
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<q-chip
|
<q-chip
|
||||||
dense
|
dense
|
||||||
class="app-chip app-chip-rule">
|
class="app-chip app-chip-rule app-chip-overflow">
|
||||||
{{ service.name }}
|
{{ service.name }}
|
||||||
|
<q-tooltip>{{service.name}}</q-tooltip>
|
||||||
</q-chip>
|
</q-chip>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-3 text-right">
|
<div class="col-3 text-right">
|
||||||
|
|
|
@ -66,8 +66,9 @@
|
||||||
dense
|
dense
|
||||||
clickable
|
clickable
|
||||||
@click.native="$router.push({ path: `/${protocol}/services/${getServiceId()}`})"
|
@click.native="$router.push({ path: `/${protocol}/services/${getServiceId()}`})"
|
||||||
class="app-chip app-chip-wrap app-chip-service">
|
class="app-chip app-chip-wrap app-chip-service app-chip-overflow">
|
||||||
{{ data.service }}
|
{{ data.service }}
|
||||||
|
<q-tooltip>{{ data.service }}</q-tooltip>
|
||||||
</q-chip>
|
</q-chip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -21,8 +21,9 @@
|
||||||
<div class="col-7">
|
<div class="col-7">
|
||||||
<q-chip
|
<q-chip
|
||||||
dense
|
dense
|
||||||
class="app-chip app-chip-rule">
|
class="app-chip app-chip-rule app-chip-overflow">
|
||||||
{{ service.name }}
|
{{ service.name }}
|
||||||
|
<q-tooltip>{{service.name}}</q-tooltip>
|
||||||
</q-chip>
|
</q-chip>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-3">
|
<div class="col-3">
|
||||||
|
|
|
@ -131,6 +131,16 @@ body {
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&-overflow {
|
||||||
|
max-width: 90%;
|
||||||
|
|
||||||
|
.q-chip__content{
|
||||||
|
display: block;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
}
|
||||||
&-accent, &-rule {
|
&-accent, &-rule {
|
||||||
color: $accent;
|
color: $accent;
|
||||||
background-color: rgba($accent, 0.1);
|
background-color: rgba($accent, 0.1);
|
||||||
|
|
Loading…
Reference in a new issue