Skip to content

armgit / kokon

Public Imported from GitHub
0

Edit photos by describing the change, on your own GPU. A free, open-source alternative to Nano Banana and ChatGPT image editing: photos stay on your computer, no daily limit. One installer for Windows, Mac and Linux sets up the best open model (Qwen-Image 2.1). MCP server for AI agents.

UI: prompt tips footer button no longer squashed when the list scrolls

Gabriele Lozupone83a982de3671
diff --git a/src/styles.css b/src/styles.css
index 41da5fd..edac8af 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -562,7 +562,7 @@ button.link:hover { color: var(--text); }
.tips-lead { margin: -4px 0 0; color: var(--text-2); font-size: 13.5px; }
.tips-tabs { align-self: flex-start; }
.tips-tabs button { flex: none; padding: 0 14px; }
-.tips-body { overflow-y: auto; display: flex; flex-direction: column; gap: 12px; margin: 0 -6px; padding: 0 6px; }
+.tips-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; margin: 0 -6px; padding: 0 6px; }
.tips-rule { background: var(--surface); border-radius: 16px; padding: 14px 16px; }
.tips-rule h2 { font-size: 15px; margin: 0; display: flex; gap: 8px; align-items: baseline; }
.tips-num { font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
@@ -582,5 +582,5 @@ button.link:hover { color: var(--text); }
.tips-check { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13px; color: var(--text-2); }
.tips-check li { display: flex; gap: 6px; align-items: center; }
.tips-check svg { color: var(--good); flex: none; }
-.tips-more { align-self: center; }
+.tips-more { align-self: center; flex: none; margin-top: 2px; }
@media (max-width: 640px) { .tips-check { grid-template-columns: 1fr; } }