From d3a7a6f86420e23897fe62d1641628061f9494af Mon Sep 17 00:00:00 2001
From: hadaq <hadaq@hades33.gsi.de>
Date: Mon, 16 Dec 2024 11:15:20 +0100
Subject: [PATCH] change column width in network map

---
 web/htdocs/layout/styles.css | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/web/htdocs/layout/styles.css b/web/htdocs/layout/styles.css
index d1c8c73..58ad064 100644
--- a/web/htdocs/layout/styles.css
+++ b/web/htdocs/layout/styles.css
@@ -106,6 +106,7 @@ table.content td, table.content th {
  padding-right:10px;
 }
 
+
 table.content {
  border:1px solid #ccc; 
 }
@@ -240,11 +241,13 @@ width: 89px;
 table#content.map tr {transition:background .4s;}
 table#content.map tr:hover {background:#eed;}
 table#content.map td {border-bottom:none; margin-left:10px; text-align:right; cursor:default;}
-table#content.map td:first-child {text-align:left;padding-left:10px; width:10px;}
-table#content.map td:nth-child(2)  {width:180px; text-align:left}
-table#content.map td:nth-child(3)  {width:280px;}
-table#content.map td:nth-child(4)  {width:150px;}
-table#content.map td:nth-child(5)  {width:100px;}
+table#content.map td:first-child,  table#content.map th:first-child   {text-align:left;padding-left:10px; width:10px;}
+table#content.map td:nth-child(2), table#content.map th:nth-child(2)  {width:180px; text-align:left}
+table#content.map td:nth-child(3), table#content.map th:nth-child(3)  {width:300px;}
+table#content.map td:nth-child(4), table#content.map th:nth-child(4)  {width:120px;}
+table#content.map td:nth-child(5), table#content.map th:nth-child(5)  {min-width:80px; width:80px;}
+table#content.map td:nth-child(6), table#content.map th:nth-child(6)  {width:150px;}
+table#content.map td:nth-child(8), table#content.map th:nth-child(8)  {min-width:70px; width:70px;}
 
 #content .level1 {background:#f5f5f5;}
 #content .level2 {background:#eaeaea;}
-- 
2.43.0