style: 优化后台页面 slug 生成按钮样式

This commit is contained in:
seahi committed 2026-08-08 08:38:29 +08:00
1 parent 61e2f6ad9e
commit 652bcde818
4 files changed
+4 -8

No files matched your search

+1 -2
View File
@@ -61,8 +61,7 @@
<label for="slug" style="margin: 0;">别名</label>
<button
type="button"
class="btn btn-secondary"
style="padding: 0.2rem 0.6rem; font-size: 0.8rem; cursor: pointer; flex-shrink: 0; min-width: max-content;"
style="background: none; border: none; padding: 0; color: #666; font-size: 0.8rem; cursor: pointer; outline: none;"
onclick={() => slugHandler.forceGenerate(name)}
disabled={isGenerating}
>
+1 -2
View File
@@ -108,8 +108,7 @@
<h3 style="margin: 0;">别名 *</h3>
<button
type="button"
class="btn btn-secondary"
style="padding: 0.2rem 0.6rem; font-size: 0.8rem; cursor: pointer; flex-shrink: 0; min-width: max-content;"
style="background: none; border: none; padding: 0; color: #666; font-size: 0.8rem; cursor: pointer; outline: none;"
onclick={() => slugHandler.forceGenerate(title)}
disabled={isGenerating}
>
+1 -2
View File
@@ -518,8 +518,7 @@
<h3 style="margin: 0;">别名 *</h3>
<button
type="button"
class="btn btn-secondary"
style="padding: 0.2rem 0.6rem; font-size: 0.8rem; cursor: pointer; flex-shrink: 0; min-width: max-content;"
style="background: none; border: none; padding: 0; color: #666; font-size: 0.8rem; cursor: pointer; outline: none;"
title="生成英文 Slug"
onclick={() => slugHandler.forceGenerate(title)}
disabled={isGenerating}
+1 -2
View File
@@ -55,8 +55,7 @@
<label for="slug" style="margin: 0;">URL 别名 *</label>
<button
type="button"
class="btn btn-secondary"
style="padding: 0.2rem 0.6rem; font-size: 0.8rem; cursor: pointer; flex-shrink: 0; min-width: max-content;"
style="background: none; border: none; padding: 0; color: #666; font-size: 0.8rem; cursor: pointer; outline: none;"
onclick={() => slugHandler.forceGenerate(name)}
disabled={isGenerating}
>