修改了configview页面的命名逻辑
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user