Give the domain name a bit more space

Fixes #340
This commit is contained in:
Johannes Zellner
2017-06-01 15:30:13 +02:00
parent 0250e1ea59
commit d1bfa4875a
3 changed files with 14 additions and 4 deletions

View File

@@ -471,7 +471,7 @@ app.directive('tagInput', function () {
app.config(['fitTextConfigProvider', function (fitTextConfigProvider) {
fitTextConfigProvider.config = {
loadDelay: 250,
compressor: 0.8,
compressor: 0.9,
min: 8,
max: 24
};

View File

@@ -170,7 +170,17 @@ h1, h2, h3 {
.grid-item {
padding: 10px;
min-width: 200px;
min-width: 210px;
.col-xs-12 {
padding-left: 5px;
padding-right: 5px;
.status, .status {
padding-left: 5px;
padding-right: 5px;
}
}
}
.grid-item:hover .grid-item-bottom {

View File

@@ -390,10 +390,10 @@
<div class="row">
<div class="col-xs-12 text-center">
<div class="grid-item-top-title" data-fittext>{{ app.altDomain || app.location || app.fqdn }}</div>
<div class="text-muted" style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden">
<div class="text-muted status" style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden">
{{ app | installationStateLabel }}
</div>
<div ng-style="{ 'visibility': (app | installationActive) ? 'visible' : 'hidden' }">
<div class="status" ng-style="{ 'visibility': (app | installationActive) ? 'visible' : 'hidden' }">
<div class="progress progress-striped active">
<div class="progress-bar progress-bar-success" role="progressbar" style="width: {{ app.progress }}%"></div>
</div>