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