test(FN-4246): cover safe-area top padding in mobile modal CSS

Fusion-Task-Id: FN-4246
Fusion-Task-Lineage: 40ca0357-149d-423c-a9c0-79d2b0d77a13
This commit is contained in:
Fusion
2026-05-13 07:07:09 -07:00
committed by gsxdsm
parent 98137af8e4
commit 2811f2c30e

View File

@@ -970,6 +970,12 @@ describe("WorkflowResultsTab", () => {
expect(css).toMatch(/@media \(max-width: 768px\)\s*\{[\s\S]*?\.workflow-output-modal-overlay\s*\{[^}]*padding:\s*0;/);
});
it("includes safe-area top padding for expanded output modal header on mobile", () => {
const css = loadAllAppCss();
expect(css).toMatch(/@media \(max-width: 768px\)\s*\{[\s\S]*?\.workflow-output-modal-header\s*\{[^}]*padding-top:\s*max\([^;]*env\(safe-area-inset-top/);
});
it("includes safe-area bottom padding for expanded output modal body on mobile", () => {
const css = loadAllAppCss();