fix(desktop): stabilize legacy WebKit connection grid

This commit is contained in:
zipg authored and GitHub committed 2026-07-27 14:11:59 +08:00
1 parent a0b9e0b37b
commit 589fbb02c9
2 files changed
+12 -1

No files matched your search

@@ -53,6 +53,9 @@ describe("legacy WebView CSS fallbacks", () => {
expect(desktopIndexSource).toContain('href="/connection-dialog-legacy.css"');
expect(connectionDialogLegacyCss).toContain("@media (min-width: 640px)");
expect(connectionDialogLegacyCss).toContain("@media (min-width: 1024px)");
expect(connectionDialogLegacyCss).toContain("min-width: 38rem !important;");
expect(connectionDialogLegacyCss).toContain("width: 0 !important;");
expect(connectionDialogLegacyCss).toContain(".connection-db-picker-option");
expect(connectionDialogLegacyCss).not.toContain("width >=");
expect(connectionDialogSource).not.toContain("@media (min-width: 640px)");
});