From 94a373f79b7400e3dee2d5ca9d6751fa4ebbf015 Mon Sep 17 00:00:00 2001 From: raortegar Date: Tue, 10 Sep 2024 12:44:44 +0200 Subject: [PATCH] MDL-83074 AI: Placement Text Editor - White icon on button --- .../tiny/plugins/aiplacement/pix/sparkles-white.svg | 8 ++++++++ lib/editor/tiny/plugins/aiplacement/styles.css | 3 ++- .../aiplacement/templates/modalfooterimage.mustache | 2 +- .../aiplacement/templates/modalfootertext.mustache | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 lib/editor/tiny/plugins/aiplacement/pix/sparkles-white.svg diff --git a/lib/editor/tiny/plugins/aiplacement/pix/sparkles-white.svg b/lib/editor/tiny/plugins/aiplacement/pix/sparkles-white.svg new file mode 100644 index 00000000000..ee7f381b36f --- /dev/null +++ b/lib/editor/tiny/plugins/aiplacement/pix/sparkles-white.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/lib/editor/tiny/plugins/aiplacement/styles.css b/lib/editor/tiny/plugins/aiplacement/styles.css index a149859c70d..8e1ce78aca1 100644 --- a/lib/editor/tiny/plugins/aiplacement/styles.css +++ b/lib/editor/tiny/plugins/aiplacement/styles.css @@ -181,7 +181,8 @@ } .tiny-aiplacement-generate-footer button img { - width: 1em; + width: 1.5em; + margin-right: 0.2em; } .tiny-aiplacement-error-display { diff --git a/lib/editor/tiny/plugins/aiplacement/templates/modalfooterimage.mustache b/lib/editor/tiny/plugins/aiplacement/templates/modalfooterimage.mustache index 90a41c682c6..4b0704ebdee 100644 --- a/lib/editor/tiny/plugins/aiplacement/templates/modalfooterimage.mustache +++ b/lib/editor/tiny/plugins/aiplacement/templates/modalfooterimage.mustache @@ -43,7 +43,7 @@ data-action="generate" disabled="disabled"> - {{#pix}} sparkles, tiny_aiplacement {{/pix}} + {{#pix}} sparkles-white, tiny_aiplacement {{/pix}} {{#str}} generateimage, tiny_aiplacement {{/str}} diff --git a/lib/editor/tiny/plugins/aiplacement/templates/modalfootertext.mustache b/lib/editor/tiny/plugins/aiplacement/templates/modalfootertext.mustache index a655f68ec8f..8fe7daa8c77 100644 --- a/lib/editor/tiny/plugins/aiplacement/templates/modalfootertext.mustache +++ b/lib/editor/tiny/plugins/aiplacement/templates/modalfootertext.mustache @@ -39,7 +39,7 @@