style: 优化后台页面 slug 生成按钮样式
This commit is contained in:
1 parent
61e2f6ad9e
commit
652bcde818
4 files changed
+4
-8
No files matched your search
@@ -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}
|
||||
>
|
||||
|
||||
@@ -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}
|
||||
>
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user