]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Make the overview a little tidier as discussed on IRC
authorValerie Pond <redacted>
Mon, 17 Apr 2023 17:10:16 +0000 (18:10 +0100)
committerValerie Pond <redacted>
Mon, 17 Apr 2023 17:10:16 +0000 (18:10 +0100)
this pulls the cards over to the left which I feel looks neater aligned with the sidebar.
also made the cards on each row match the max size to look more aligned

index.php

index e7b5f7403b5a1db9ef764e2b8901bd0fe251edde..741f54fcf5c2c744241bcebb4e97670ebe3d8311 100644 (file)
--- a/index.php
+++ b/index.php
@@ -24,7 +24,12 @@ Hook::run(HOOKTYPE_GET_USER_LIST, $userlist);
 $num_of_panel_admins = count($userlist);
 
 ?>
-<div class="container">
+<style>
+       .card {
+               min-height: 100%;
+       }
+       </style>
+<div class="container" style="margin-left:40px;margin-top:30px">
 
        <div class="row mt-3">
                <div class="col-sm mb-3">
@@ -122,7 +127,7 @@ $num_of_panel_admins = count($userlist);
                </div>
        </div>
 </div>
-<div class="container mt-3">
+<div class="container" style="margin-left:40px;margin-top:30px">
 
        <div class="row">
                <div class="col-sm mb-3">
@@ -258,7 +263,7 @@ $num_of_panel_admins = count($userlist);
        // ^ commented out but may want to restart initStats() when connection is lost.
 </script>
 
-<div class="container mt-3">
+<div class="container" style="margin-left:40px;margin-top:10px">
 
                        <div class="row">
                                <div class="col-sm-3">