0
0

修改了configview页面的命名逻辑

This commit is contained in:
xubing
2025-12-09 09:38:32 +08:00
parent 11c405f79a
commit 9374414de4
15 changed files with 789 additions and 183 deletions

View File

@@ -60,7 +60,6 @@ class AircraftView extends BaseView_1.BaseView {
display: flex;
align-items: center;
gap: 6px;
/* ❌ 原来这里有 margin: 0 auto; 已去掉,避免“获取仓库”按钮被居中 */
}
.btn-new:hover {
background: var(--vscode-button-hoverBackground);
@@ -74,10 +73,7 @@ class AircraftView extends BaseView_1.BaseView {
.aircraft-name:hover {
background: var(--vscode-input-background);
}
.new-button-container {
text-align: center;
padding: 20px;
}
/* 移除冗余的 .new-button-container 样式 */
/* 仓库 + 分支树公共样式 */
.config-section {
@@ -172,7 +168,7 @@ class AircraftView extends BaseView_1.BaseView {
<tbody>
${aircraftsHtml}
<tr>
<td colspan="3" class="new-button-container">
<td colspan="3" style="text-align: center; padding: 20px;">
<button class="btn-new" onclick="createNewAircraft()">+ 新建飞行器</button>
</td>
</tr>