fix(desktop): add legacy webview fallbacks for snapshots and dialogs

This commit is contained in:
知食分子 authored and GitHub committed 2026-08-27 10:55:05 +08:00
1 parent afcfa59d0b
commit ba8df70fe6
8 files changed
+232 -13

No files matched your search

@@ -1353,10 +1353,8 @@ async function saveConfigTask() {
</template>
<style>
@media (min-width: 640px) {
html.dbx-legacy-webview [data-slot="dialog-content"].dbx-transfer-dialog[class~="max-w-sm"] {
/* Override the legacy default cap without pinning width, so native resize remains effective. */
max-width: calc(100vw - 2rem) !important;
}
html.dbx-legacy-webview [data-slot="dialog-content"].dbx-transfer-dialog[class~="max-w-sm"] {
/* Override the legacy default cap without pinning width, so native resize remains effective. */
max-width: calc(100vw - 2rem) !important;
}
</style>