feat: adjust confirm button order and improve file name wrapping
This commit is contained in:
@@ -153,7 +153,7 @@ const syncState = reactive({
|
||||
nextRunAt: "",
|
||||
});
|
||||
const updateState = reactive({
|
||||
currentVersion: "0.1.7",
|
||||
currentVersion: "0.1.8",
|
||||
latestVersion: "",
|
||||
available: false,
|
||||
mandatory: false,
|
||||
@@ -2873,10 +2873,10 @@ onBeforeUnmount(() => {
|
||||
删除后外链将立即失效。
|
||||
</p>
|
||||
<div class="confirm-actions">
|
||||
<button class="action-btn" :disabled="shareDeleteDialog.loading" @click="closeDeleteShareDialog()">取消</button>
|
||||
<button class="action-btn danger" :disabled="shareDeleteDialog.loading" @click="confirmDeleteShare()">
|
||||
{{ shareDeleteDialog.loading ? "删除中..." : "确定删除" }}
|
||||
</button>
|
||||
<button class="action-btn" :disabled="shareDeleteDialog.loading" @click="closeDeleteShareDialog()">取消</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2889,10 +2889,10 @@ onBeforeUnmount(() => {
|
||||
删除后将无法恢复。
|
||||
</p>
|
||||
<div class="confirm-actions">
|
||||
<button class="action-btn" :disabled="fileDeleteDialog.loading" @click="closeDeleteFileDialog()">取消</button>
|
||||
<button class="action-btn danger" :disabled="fileDeleteDialog.loading" @click="confirmDeleteFile()">
|
||||
{{ fileDeleteDialog.loading ? "删除中..." : "确定删除" }}
|
||||
</button>
|
||||
<button class="action-btn" :disabled="fileDeleteDialog.loading" @click="closeDeleteFileDialog()">取消</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2902,10 +2902,10 @@ onBeforeUnmount(() => {
|
||||
<h4>{{ operationConfirmDialog.title || "确认操作" }}</h4>
|
||||
<p>{{ operationConfirmDialog.message || "确认继续执行该操作吗?" }}</p>
|
||||
<div class="confirm-actions">
|
||||
<button class="action-btn" :disabled="operationConfirmDialog.loading" @click="closeOperationConfirmDialog()">取消</button>
|
||||
<button class="action-btn danger" :disabled="operationConfirmDialog.loading" @click="confirmOperationDialog()">
|
||||
{{ operationConfirmDialog.loading ? "处理中..." : (operationConfirmDialog.confirmText || "确定") }}
|
||||
</button>
|
||||
<button class="action-btn" :disabled="operationConfirmDialog.loading" @click="closeOperationConfirmDialog()">取消</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2918,10 +2918,10 @@ onBeforeUnmount(() => {
|
||||
升级完成后将自动重启客户端。
|
||||
</p>
|
||||
<div class="confirm-actions">
|
||||
<button class="action-btn" :disabled="updatePrompt.loading" @click="dismissUpdatePrompt(true)">稍后提醒</button>
|
||||
<button class="action-btn danger" :disabled="updatePrompt.loading" @click="confirmUpdateFromPrompt()">
|
||||
{{ updatePrompt.loading ? "处理中..." : "立即更新" }}
|
||||
</button>
|
||||
<button class="action-btn" :disabled="updatePrompt.loading" @click="dismissUpdatePrompt(true)">稍后提醒</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -3553,10 +3553,14 @@ select:focus {
|
||||
line-height: 1.35;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
min-height: 34px;
|
||||
max-height: 34px;
|
||||
}
|
||||
|
||||
.inline-rename-input {
|
||||
@@ -4088,7 +4092,7 @@ select:focus {
|
||||
|
||||
.confirm-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
justify-content: flex-start;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user