fix(FN-1851): make GitManager remotes tab scrollable on mobile

- Add overflow-y: auto and max-height to remotes tab panel for mobile scrolling
- Add test to verify GitManager modal remotes panel is scrollable at mobile widths
- Ensures remotes content is accessible on small screens without overflow issues
This commit is contained in:
Fusion
2026-04-15 21:22:51 -07:00
committed by gsxdsm
parent 24ca409ec6
commit f7998fa723
2 changed files with 14 additions and 0 deletions

View File

@@ -102,6 +102,14 @@ describe("core modals mobile css coverage", () => {
expect(mobileBlock).toContain("min-height: 36px;");
});
it("GitManagerModal: panel allows content scrolling on mobile", () => {
const css = fs.readFileSync(stylesPath, "utf-8");
const mobileBlock = getMainMobileBlock(css);
expect(mobileBlock).toContain(".gm-panel {");
expect(mobileBlock).toContain("overflow-y: auto;");
});
it("TaskDetailModal: action dropdown menus have max-height constraint on mobile", () => {
const css = fs.readFileSync(stylesPath, "utf-8");
const mobileBlock = getMainMobileBlock(css);