fix(site): contain the agent prompt across responsive layouts

This commit is contained in:
Wayner Barrios
2026-08-13 22:53:41 -05:00
parent 0c19b5bd9d
commit df01b438df
5 changed files with 23 additions and 6 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
<meta name="robots" content="noindex, follow">
<meta name="theme-color" content="#0b0f14">
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml">
<link rel="stylesheet" href="/styles.css">
<link rel="stylesheet" href="/styles.css?v=0.4.0-responsive-prompt-1">
</head>
<body>
<a class="skip-link" href="#main">Skip to content</a>
+2 -1
View File
@@ -45,7 +45,7 @@
href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&amp;family=IBM+Plex+Mono:wght@400;500;600;700&amp;display=swap"
rel="stylesheet"
>
<link rel="stylesheet" href="../styles.css">
<link rel="stylesheet" href="../styles.css?v=0.4.0-responsive-prompt-1">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -631,5 +631,6 @@ pi remove git:github.com/waybarrios/opencode-power-pack</code></div>
</section>
</main>
</div>
<script src="../app.js?v=0.4.0-responsive-prompt-1" defer></script>
</body>
</html>
+2 -2
View File
@@ -42,7 +42,7 @@
href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&amp;family=IBM+Plex+Mono:wght@400;500;600;700&amp;display=swap"
rel="stylesheet"
>
<link rel="stylesheet" href="../../styles.css">
<link rel="stylesheet" href="../../styles.css?v=0.4.0-responsive-prompt-1">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -2377,6 +2377,6 @@ npx @waybarrios/opencode-power-pack install code-review</code></div>
</section>
</main>
</div>
<script src="../../app.js" defer></script>
<script src="../../app.js?v=0.4.0-responsive-prompt-1" defer></script>
</body>
</html>
+2 -2
View File
@@ -62,7 +62,7 @@
href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&amp;family=IBM+Plex+Mono:wght@400;500;600;700&amp;display=swap"
rel="stylesheet"
>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="styles.css?v=0.4.0-responsive-prompt-1">
<script type="application/ld+json">
{
@@ -721,6 +721,6 @@ Phase 6: verify and report.
<span>v0.4.0 // 2026</span>
</footer>
<script src="app.js" defer></script>
<script src="app.js?v=0.4.0-responsive-prompt-1" defer></script>
</body>
</html>
+16
View File
@@ -266,6 +266,7 @@ code {
.install-switcher {
width: min(100%, 48rem);
min-width: 0;
}
.install-tabs {
@@ -319,6 +320,13 @@ code {
.install-mode-panel .terminal-shell {
width: 100%;
min-width: 0;
}
.agent-prompt-disclosure,
.agent-prompt-expanded {
min-width: 0;
max-width: 100%;
}
.agent-prompt-summary {
@@ -347,7 +355,10 @@ code {
}
.agent-prompt-full {
display: block;
width: 100%;
min-width: 0;
max-width: 100%;
max-height: 32rem;
margin: 0;
padding: var(--space-5) 0;
@@ -359,6 +370,7 @@ code {
font-size: 0.76rem;
line-height: 1.7;
overflow-wrap: anywhere;
word-break: break-word;
white-space: pre-wrap;
}
@@ -376,6 +388,10 @@ code {
border-top: 1px solid var(--line);
}
.agent-prompt-actions > * {
max-width: 100%;
}
.agent-prompt-actions a {
color: var(--muted);
font-size: 0.75rem;