diff --git a/src/renderer/src/WorkspacePrimitives.test.tsx b/src/renderer/src/WorkspacePrimitives.test.tsx index 8bb6e5d2..2dbed46e 100644 --- a/src/renderer/src/WorkspacePrimitives.test.tsx +++ b/src/renderer/src/WorkspacePrimitives.test.tsx @@ -91,6 +91,15 @@ describe('WorkspacePrimitives', () => { expect(toggleRowStyles).not.toMatch(/padding-top:/u) }) + it('keeps Platform Features tabs visible in scrollable Settings', () => { + const platformFeaturesTabs = stylesheet.match( + /\.platform-features-tabs\s*\{(?[^}]*)\}/u + )?.groups?.rules + + expect(platformFeaturesTabs).toBeDefined() + expect(platformFeaturesTabs).toMatch(/flex:\s*0 0 auto;/u) + }) + it('uses bundled variable fonts and readable shared type tokens', () => { expect(rendererEntry).toContain( "@fontsource-variable/noto-sans-sc/wght.css" diff --git a/src/renderer/src/styles.css b/src/renderer/src/styles.css index a0ead0f2..76fdc6f2 100644 --- a/src/renderer/src/styles.css +++ b/src/renderer/src/styles.css @@ -6245,6 +6245,7 @@ button > svg { width: fit-content; max-width: 100%; overflow-x: auto; + flex: 0 0 auto; } .platform-features-tabs + .settings-section,