]> git.mxchange.org Git - friendica.git/commitdiff
positioning of the fedstat graph
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 29 Jan 2018 16:39:44 +0000 (17:39 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 29 Jan 2018 16:39:44 +0000 (17:39 +0100)
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.

view/global.css
view/templates/admin/federation.tpl

index c14f727a59e0e9ab2387cf469e8da8b65f72ef0d..daf40bbdd431331507f814c8840bc2c85982c0dc 100644 (file)
@@ -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;
-}
\ No newline at end of file
+}
index c92af180c255377bf1987e488852d674f8c8f650..193eefb56552240a19c7efcfa0b75d28ed2335ac 100644 (file)
@@ -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>