fix(FN-1310): remove mobile 44px touch target enforcement from FileBrowser

- Remove min-height/min-width 44px enforcement from FileBrowser styles.css that was overriding native sizing
- Update FileBrowser test to match the actual CSS without mobile touch target rules
- Update memory log with the change rationale
This commit is contained in:
gsxdsm
2026-04-09 07:07:49 -07:00
parent 749b0da81b
commit 93eec2a882
3 changed files with 10 additions and 10 deletions

View File

@@ -368,10 +368,10 @@ describe("FileBrowser", () => {
});
});
it("defines 44px mobile touch targets for context menu items", () => {
it("defines mobile-friendly touch targets for context menu items", () => {
const cssPath = resolve(process.cwd(), "app/styles.css");
const css = readFileSync(cssPath, "utf8");
expect(css).toMatch(/@media \(max-width: 768px\)\s*\{[\s\S]*\.file-browser-context-menu__item\s*\{[\s\S]*min-height:\s*44px;/);
expect(css).toMatch(/\.file-browser-context-menu__item\s*\{[^}]*min-height:\s*36px;/);
});
// ── Download Actions ────────────────────────────────────────────────