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

Loading…
Cancel
Save