[pve-devel] [PATCH] css6: reduce tree space usage for new theme

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Mar 16 10:35:05 CET 2016


The tree has also big space paddings/margins in the crisp theme,
reduce this to a saner level.
---
 www/css/ext6-pve.css | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index 6f5af32..44dc428 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -12,4 +12,14 @@
     color: #fff;
     padding: 4px;
     background-color: #3892d4;
-}
\ No newline at end of file
+}
+
+/* reduce tree space */
+.x-grid-cell-inner-treecolumn { /* vertical padding */
+    padding: 4px 0px;
+}
+
+/* horizontal distance between parent and child leaf */
+.x-tree-elbow-img {
+    width: 14px;
+}
-- 
2.1.4





More information about the pve-devel mailing list