positioning of the fedstat graph

This is a followup on #4266 resizing the fedstat graph in the admin panel
so that it fits alongside the intro text again. Checked also with duepunto,
quattro and vier theme.
pull/4359/head
Tobias Diekershoff 2018-01-29 17:39:44 +01:00
rodzic 5cae43c8c7
commit 8eb8288b68
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -414,6 +414,7 @@ a {
}
.federation-graph {
margin: 0 auto;
float: right;
}
.federation-network-graph {
float: left;
@ -578,4 +579,4 @@ img.invalid-src:after { vertical-align: top;}
}
.tag-cloud {
word-wrap: break-word;
}
}

Wyświetl plik

@ -1,7 +1,7 @@
<script src="{{$baseurl}}/vendor/asset/Chart-js/dist/Chart.min.js"></script>
<canvas id="FederationChart" class="federation-graph" width="400" height="400"></canvas>
<div id="adminpage">
<h1>{{$title}} - {{$page}}</h1>
<canvas id="FederationChart" class="federation-graph" width="320" height="320"></canvas>
<p>{{$intro}}</p>
{{if not $autoactive}}
<p class="error-message">{{$hint}}</p>