[Libreoffice-commits] online.git: loleaflet/admin

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jan 23 07:40:19 UTC 2019


 loleaflet/admin/admin.html              |   10 +++++-----
 loleaflet/admin/bootstrap/dashboard.css |    3 ++-
 2 files changed, 7 insertions(+), 6 deletions(-)

New commits:
commit d6a30f896b56777d0d65b54b7c3e4b0cf045a923
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Wed Jan 23 08:36:18 2019 +0100
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Wed Jan 23 08:36:18 2019 +0100

    Improve admin overview grid
    
    numbers were overlapping on certain screen sizes,
    improve grid and make numbers a bit smaller
    
    Change-Id: I62ce1b6c4e2e631b84ecd59b28e4712c1d6684ff

diff --git a/loleaflet/admin/admin.html b/loleaflet/admin/admin.html
index a076a1749..ecd67cdb9 100644
--- a/loleaflet/admin/admin.html
+++ b/loleaflet/admin/admin.html
@@ -65,23 +65,23 @@
           <h1 class="page-header"><script>document.write(l10nstrings.strDashboard)</script></h1>
 
 	  <div class="row placeholders">
-	    <div class="col-xs-6 col-sm-2 placeholder">
+	    <div class="col-xs-6 col-sm-4 col-md-2 placeholder">
 	      <div class="main-data" id="active_users_count">0</div>
 	      <h4><script>document.write(l10nstrings.strUsersOnline)</script></h4>
 	    </div>
-	    <div class="col-xs-6 col-sm-2 placeholder">
+	    <div class="col-xs-6 col-sm-4 col-md-2 placeholder">
 	      <div class="main-data" id="active_docs_count">0</div>
 	      <h4><script>document.write(l10nstrings.strDocumentsOpened)</script></h4>
 	    </div>
-	    <div class="col-xs-6 col-sm-2 placeholder">
+	    <div class="col-xs-6 col-sm-4 col-md-2 placeholder">
 	      <div class="main-data" id="mem_consumed">0</div>
 	      <h4><script>document.write(l10nstrings.strMemoryConsumed)</script></h4>
 	    </div>
-	    <div class="col-xs-6 col-sm-2 placeholder">
+	    <div class="col-xs-6 col-sm-4 col-md-2 placeholder">
 	      <div class="main-data" id="sent_bytes">0</div>
 	      <h4><script>document.write(l10nstrings.strSentBytes)</script></h4>
 	    </div>
-	    <div class="col-xs-6 col-sm-2 placeholder">
+	    <div class="col-xs-6 col-sm-4 col-md-2 placeholder">
 	      <div class="main-data" id="recv_bytes">0</div>
 	      <h4><script>document.write(l10nstrings.strRecvBytes)</script></h4>
 	    </div>
diff --git a/loleaflet/admin/bootstrap/dashboard.css b/loleaflet/admin/bootstrap/dashboard.css
index 1f627f0e1..956de7f5d 100644
--- a/loleaflet/admin/bootstrap/dashboard.css
+++ b/loleaflet/admin/bootstrap/dashboard.css
@@ -102,7 +102,8 @@ body {
 .placeholder .main-data {
   display: inline-block;
   border-radius: 50%;
-  font-size: 60px;
+  font-size: 35px;
+  font-weight: bold;
 }
 
 /*


More information about the Libreoffice-commits mailing list