style: 脚本生成页去掉分类标题,缩小按钮高度

This commit is contained in:
小鱼开发
2026-06-01 14:15:44 +08:00
parent 534ffd08b2
commit 6175630794
2 changed files with 2 additions and 3 deletions
@@ -22,14 +22,14 @@
.topic-groups .option-card { .topic-groups .option-card {
min-width: 0; min-width: 0;
padding: var(--spacing-md) var(--spacing-sm); padding: var(--spacing-sm) var(--spacing-xs);
font-size: var(--font-base); font-size: var(--font-base);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: var(--spacing-2xs); gap: var(--spacing-2xs);
min-height: 52px; min-height: 40px;
border-radius: var(--radius-lg); border-radius: var(--radius-lg);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
background: linear-gradient(145deg, #ffffff 0%, #f8faf9 100%); background: linear-gradient(145deg, #ffffff 0%, #f8faf9 100%);
@@ -348,7 +348,6 @@ export default function ScriptCreation() {
<label className="panel-label"></label> <label className="panel-label"></label>
{categories.map((cat) => ( {categories.map((cat) => (
<div key={cat.code}> <div key={cat.code}>
<div className="topic-category-title">{cat.name}</div>
<div className="topic-groups"> <div className="topic-groups">
{cat.files.map((file) => ( {cat.files.map((file) => (
<button <button