Skip to content

Prompt as Code | GPT Image 2 / 2.5 提示词与案例库,530+ 个案例、20+ 套工业级模板与可复用 Skills,新增 2.5 同提示词对比专区,附完整提示词与生成记录,持续更新。

Fix case action button wrapping

freestylefly7044f2b4f037
diff --git a/src/styles.css b/src/styles.css
index a08a27b..60cb432 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -993,7 +993,11 @@ button {
}
.caseActions {
- grid-template-columns: repeat(3, minmax(0, 1fr)) 42px;
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px;
+}
+
+.caseActions button:first-child {
+ grid-column: 1 / -1;
}
.templateActions {
@@ -1006,12 +1010,15 @@ button {
align-items: center;
justify-content: center;
gap: 8px;
+ min-width: 0;
min-height: 42px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
background: rgba(255, 255, 255, 0.08);
color: #ffffff;
font-weight: 800;
+ text-align: center;
+ white-space: nowrap;
}
.cardActions button:hover,