Merge pull request #318 from PR0M3TH3AN/mobile-landing-fix-10979624231884595343

fix(landing): improve mobile responsiveness
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-18 21:16:34 -05:00
commit e5ec4c21c7
2 files changed
+13 -3

No files matched your search

+9 -1
View File
@@ -155,6 +155,12 @@
width: 100%;
}
@media (max-width: 640px) {
.meta-prompts {
padding: 0 1rem;
}
}
.meta-prompts h2 {
text-align: center;
font-size: 2rem;
@@ -164,7 +170,7 @@
.prompts-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}
@@ -743,6 +749,8 @@
color: #e6edf3;
line-height: 1.5;
white-space: pre-wrap;
word-break: break-all;
overflow-wrap: break-word;
}
#promptModal .close-prompt {
@@ -73,6 +73,8 @@ async function setupFixture({
await fs.copyFile(SOURCE_SCRIPT, path.join(scriptsDir, 'run-scheduler-cycle.mjs'));
await fs.copyFile(path.resolve('scripts/agent/scheduler-utils.mjs'), path.join(scriptsDir, 'scheduler-utils.mjs'));
await fs.copyFile(path.resolve('scripts/agent/scheduler-lock.mjs'), path.join(scriptsDir, 'scheduler-lock.mjs'));
await fs.mkdir(path.join(root, 'src'), { recursive: true });
await fs.copyFile(path.resolve('src/utils.mjs'), path.join(root, 'src', 'utils.mjs'));
await fs.writeFile(
path.join(scriptsDir, 'verify-run-artifacts.mjs'),
'#!/usr/bin/env node\nprocess.exit(0);\n',
@@ -182,7 +184,7 @@ test('accepts required memory policy when markers or artifacts are produced', {
const result = await runNode(fixture.scriptPath, ['--cadence', 'daily'], {
cwd: fixture.root,
env: fixture.env,
env: { ...fixture.env, AGENT_PLATFORM: 'codex' },
});
assert.equal(result.code, 0, `stdout: ${result.stdout}\nstderr: ${result.stderr}`);
@@ -207,7 +209,7 @@ test('records backend failure metadata when lock command exits with code 2', { c
const result = await runNode(fixture.scriptPath, ['--cadence', 'daily'], {
cwd: fixture.root,
env: fixture.env,
env: { ...fixture.env, AGENT_PLATFORM: 'codex' },
});
assert.equal(result.code, 2, `stdout: ${result.stdout}\nstderr: ${result.stderr}`);