Skip to content

Commit 9b04af5

Browse files
committed
~ Fixed: style AI button.
1 parent ea56ff9 commit 9b04af5

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

assets/src/js/admin/edit-course/edit-curriculum/edit-curriculum-ai.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class EditCurriculumAi {
3838
class="lp-btn-generate-with-ai lp-btn-ai-style"
3939
data-template="#lp-tmpl-edit-course-curriculum-ai">
4040
<i class="lp-ico-ai"></i><span>Generate with AI</span>
41-
</button>`
41+
</button>`,
4242
);
4343
}
4444
);

assets/src/js/admin/generate-with-openai.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class GenerateWithOpenai {
7777
'afterend',
7878
`<button type="button"
7979
style="margin-left: 5px"
80-
class="lp-btn-generate-with-ai"
80+
class="lp-btn-generate-with-ai lp-btn-ai-style"
8181
data-template="#lp-tmpl-edit-title-ai">
8282
<i class="lp-ico-ai"></i><span>${ lpData.i18n.generate_with_ai }</span>
8383
</button>`
@@ -90,10 +90,10 @@ export class GenerateWithOpenai {
9090
'beforebegin',
9191
`<button type="button"
9292
style="padding: 5px 10px; justify-content: center;"
93-
class="lp-btn-generate-with-ai"
93+
class="lp-btn-generate-with-ai lp-btn-ai-style"
9494
data-template="#lp-tmpl-edit-description-ai">
9595
<i class="lp-ico-ai"></i><span>Generate description with AI</span>
96-
</button>`
96+
</button>`,
9797
);
9898
} );
9999

@@ -103,7 +103,7 @@ export class GenerateWithOpenai {
103103
'afterend',
104104
`<button type="button"
105105
style="padding: 5px 10px; justify-content: center;"
106-
class="lp-btn-generate-with-ai"
106+
class="lp-btn-generate-with-ai lp-btn-ai-style"
107107
data-template="#lp-tmpl-edit-image-ai">
108108
<i class="lp-ico-ai"></i><span>${ lpData.i18n.generate_with_ai }</span>
109109
</button>`

0 commit comments

Comments
 (0)