fix(github): fit the write mode cards and the repository hint on one row

The three write mode cards now sit on one row when the form is wide
enough and stack on a phone. The repository hint is shorter so the two
line clamp no longer hides its end behind a More link at 390 px.

Assisted-by: Claude:claude-sonnet-5-5 playwright
This commit is contained in:
Ettore Di Giacinto committed 2026-11-03 21:43:57 +00:00
1 parent 6abe5b1882
commit 68d555a986
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -39,3 +39,6 @@
background: var(--color-bg-secondary); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow: auto;
}
@media (max-width: 480px) { .gh-prop__row { grid-template-columns: minmax(0, 1fr); gap: 0; } }
/* Three cards on one row when they fit, one column on a phone. */
.gh-mode-block .cn-cards { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
+1 -1
View File
@@ -12,7 +12,7 @@
"tokenShape": "Use a fine-grained token: it starts with github_pat_.",
"tokenSpace": "The token has no spaces. Copy it again without the spaces around it.",
"repos": "Repositories the agent may use",
"reposHelp": "One per line, as owner/name. {{count}} listed. The agent is refused any other repository, even if the token could reach it.",
"reposHelp": "One per line, as owner/name. {{count}} listed. Any other repository is refused.",
"reposShape": "\"{{entry}}\" is not written owner/name, for example mudler/LocalAI.",
"reposMany": "At most 50 repositories.",
"agent": "Agent",