main
HuangHai 3 weeks ago
parent 5c4fe533c1
commit 068495ab93

@ -48,21 +48,24 @@
margin-right: 5px; margin-right: 5px;
} }
#treeTable th:nth-child(4), #treeTable td:nth-child(4) { #treeTable th:nth-child(2), #treeTable td:nth-child(2),
width: 220px; #treeTable th:nth-child(3), #treeTable td:nth-child(3),
min-width: 220px;
max-width: 220px; #treeTable th:nth-child(4), #treeTable td:nth-child(4) {
text-align: center; width: 220px;
border-right: 1px solid #ddd; /* 确保右侧边框闭合 */ min-width: 220px;
} max-width: 220px;
text-align: center;
#treeTable td:nth-child(4) { border-right: 1px solid #ddd; /* 确保右侧边框闭合 */
display: flex; }
justify-content: center;
gap: 5px; #treeTable td:nth-child(4) {
min-height: 36px; /* 确保空单元格也有高度 */ display: flex;
} justify-content: center;
</style> gap: 5px;
min-height: 36px; /* 确保空单元格也有高度 */
}
</style>
</head> </head>
<body> <body>
<table id="treeTable"> <table id="treeTable">

Loading…
Cancel
Save