修改自动翻译按钮位置
This commit is contained in:
@@ -802,6 +802,7 @@ function isRemoveDisabled(token: string): boolean {
|
||||
|
||||
<section class="pe-right-pane">
|
||||
<div class="pe-section-title mode">
|
||||
<div class="pe-title-group">
|
||||
<span>提示词映射(双击修改)</span>
|
||||
<button
|
||||
v-if="unmappedTokens.length > 0"
|
||||
@@ -819,6 +820,7 @@ function isRemoveDisabled(token: string): boolean {
|
||||
</svg>
|
||||
自动翻译
|
||||
</button>
|
||||
</div>
|
||||
<div class="pe-mode-switch">
|
||||
<button :class="{ active: viewMode==='compact' }" @click="viewMode='compact'">精简视图</button>
|
||||
<button :class="{ active: viewMode==='detail' }" @click="viewMode='detail'">详细视图</button>
|
||||
@@ -1336,6 +1338,12 @@ function isRemoveDisabled(token: string): boolean {
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.pe-title-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.pe-mode-switch {
|
||||
display: flex;
|
||||
gap: 0.25rem;
|
||||
|
||||
Reference in New Issue
Block a user