Преглед на файлове

Fixed alignment of headers in domain.php

Lukas Metzger преди 9 години
родител
ревизия
3fb0a6b073
променени са 2 файла, в които са добавени 8 реда и са изтрити 4 реда
  1. 4 4
      domains.php
  2. 4 0
      include/custom.css

+ 4 - 4
domains.php

@@ -49,8 +49,8 @@ limitations under the License.
             <table class="table table-hover" id="table-domains">
                 <thead>
                     <tr>
-                        <td><strong>ID</strong> <span class="glyphicon glyphicon-sort cursor-pointer"></span></td>
-                        <td>
+                        <td class="cell-vertical-middle"><strong>ID</strong> <span class="glyphicon glyphicon-sort cursor-pointer"></span></td>
+                        <td class="cell-vertical-middle">
                             <form class="form-inline">
                                 <div class="form-group">
                                 <strong>Name</strong> 
@@ -59,7 +59,7 @@ limitations under the License.
                                 </div>
                             </form>
                         </td>
-                        <td>
+                        <td class="cell-vertical-middle">
                             <form class="form-inline">
                                 <div class="form-group">
                                 <strong>Type</strong> 
@@ -71,7 +71,7 @@ limitations under the License.
                                 </div>
                             </form>
                         </td>
-                        <td><strong>Records</strong> <span class="glyphicon glyphicon-sort cursor-pointer"></span></td>
+                        <td class="cell-vertical-middle"><strong>Records</strong> <span class="glyphicon glyphicon-sort cursor-pointer"></span></td>
                     </tr>
                 </thead>
                 <tbody>

+ 4 - 0
include/custom.css

@@ -17,3 +17,7 @@
     box-shadow: none!important;
     border-color: #CCC!important;
 }
+
+.cell-vertical-bottom { vertical-align: bottom !important; }
+.cell-vertical-middle { vertical-align: middle !important; }
+.cell-vertical-top { vertical-align: top !important; }