mirror of
https://github.com/waybarrios/opencode-power-pack.git
synced 2026-11-18 18:03:43 +00:00
fix(site): contain the agent prompt across responsive layouts
This commit is contained in:
@@ -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
@@ -45,7 +45,7 @@
|
||||
href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=IBM+Plex+Mono:wght@400;500;600;700&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>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=IBM+Plex+Mono:wght@400;500;600;700&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
@@ -62,7 +62,7 @@
|
||||
href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=IBM+Plex+Mono:wght@400;500;600;700&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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user