mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-11 18:10:32 +08:00
🐛 Fix(custom): fix an issue the qr-code dropdown list is covered
This commit is contained in:
@@ -248,7 +248,13 @@ function openMenu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handleCopyPicBedConfig() {
|
function handleCopyPicBedConfig() {
|
||||||
window.electron.clipboard.writeText(picBedConfigString.value)
|
let result
|
||||||
|
try {
|
||||||
|
result = JSON.stringify(JSON.parse(picBedConfigString.value), null, 2)
|
||||||
|
} catch (_e) {
|
||||||
|
result = picBedConfigString.value
|
||||||
|
}
|
||||||
|
window.electron.clipboard.writeText(result)
|
||||||
message.success(t('navigation.copySuccess'))
|
message.success(t('navigation.copySuccess'))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -323,7 +323,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dialog-panel {
|
.dialog-panel {
|
||||||
overflow: hidden;
|
overflow: visible;
|
||||||
border: 1px solid var(--color-border);
|
border: 1px solid var(--color-border);
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -396,7 +396,7 @@
|
|||||||
top: 100%;
|
top: 100%;
|
||||||
right: 0;
|
right: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 10;
|
z-index: 1000;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
border: 1px solid var(--color-border);
|
border: 1px solid var(--color-border);
|
||||||
|
|||||||
Reference in New Issue
Block a user