diff --git a/addons/github/ui/src/github.css b/addons/github/ui/src/github.css index 7c621bead8..182e6cdc35 100644 --- a/addons/github/ui/src/github.css +++ b/addons/github/ui/src/github.css @@ -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)); } diff --git a/addons/github/ui/src/i18n/github.en.json b/addons/github/ui/src/i18n/github.en.json index c2b2414b82..7d6593de33 100644 --- a/addons/github/ui/src/i18n/github.en.json +++ b/addons/github/ui/src/i18n/github.en.json @@ -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",