MDL-83074 AI: Placement Text Editor - White icon on button

This commit is contained in:
raortegar 2024-09-10 12:44:44 +02:00
parent ceb30b01b2
commit 94a373f79b
4 changed files with 12 additions and 3 deletions

View File

@ -0,0 +1,8 @@
<svg viewBox="0 0 20 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.5 2C6.5 2 6.74829 4.31747 7.71541 5.28459C8.68253 6.25171 11 6.5 11 6.5C11 6.5 8.68253 6.74829 7.71541 7.71541C6.74829 8.68253 6.5 11 6.5 11C6.5 11 6.25171 8.68253 5.28459 7.71541C4.31747 6.74829 2 6.5 2 6.5C2 6.5 4.31747 6.25171 5.28459 5.28459C6.25171 4.31747 6.5 2 6.5 2Z" fill="#ffffff"/>
<path d="M13 10C13 10 13.1103 11.03 13.5402 11.4598C13.97 11.8897 15 12 15 12C15 12 13.97 12.1103 13.5402 12.5402C13.1103 12.97 13 14 13 14C13 14 12.8896 12.97 12.4598 12.5402C12.03 12.1103 11 12 11 12C11 12 12.03 11.8897 12.4598 11.4598C12.8896 11.03 13 10 13 10Z" fill="#ffffff"/>
<path d="M16 2C16 2 16.1103 3.02999 16.5402 3.45982C16.97 3.88965 18 4 18 4C18 4 16.97 4.11035 16.5402 4.54018C16.1103 4.97001 16 6 16 6C16 6 15.8896 4.97001 15.4598 4.54018C15.03 4.11035 14 4 14 4C14 4 15.03 3.88965 15.4598 3.45982C15.8896 3.02999 16 2 16 2Z" fill="#ffffff"/>
<path d="M6.5 2C6.5 2 6.74829 4.31747 7.71541 5.28459C8.68253 6.25171 11 6.5 11 6.5C11 6.5 8.68253 6.74829 7.71541 7.71541C6.74829 8.68253 6.5 11 6.5 11C6.5 11 6.25171 8.68253 5.28459 7.71541C4.31747 6.74829 2 6.5 2 6.5C2 6.5 4.31747 6.25171 5.28459 5.28459C6.25171 4.31747 6.5 2 6.5 2Z" stroke="#ffffff" stroke-linejoin="round"/>
<path d="M13 10C13 10 13.1103 11.03 13.5402 11.4598C13.97 11.8897 15 12 15 12C15 12 13.97 12.1103 13.5402 12.5402C13.1103 12.97 13 14 13 14C13 14 12.8896 12.97 12.4598 12.5402C12.03 12.1103 11 12 11 12C11 12 12.03 11.8897 12.4598 11.4598C12.8896 11.03 13 10 13 10Z" stroke="#ffffff" stroke-linejoin="round"/>
<path d="M16 2C16 2 16.1103 3.02999 16.5402 3.45982C16.97 3.88965 18 4 18 4C18 4 16.97 4.11035 16.5402 4.54018C16.1103 4.97001 16 6 16 6C16 6 15.8896 4.97001 15.4598 4.54018C15.03 4.11035 14 4 14 4C14 4 15.03 3.88965 15.4598 3.45982C15.8896 3.02999 16 2 16 2Z" stroke="#ffffff" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -181,7 +181,8 @@
}
.tiny-aiplacement-generate-footer button img {
width: 1em;
width: 1.5em;
margin-right: 0.2em;
}
.tiny-aiplacement-error-display {

View File

@ -43,7 +43,7 @@
data-action="generate"
disabled="disabled">
<span class="d-inline-block">
{{#pix}} sparkles, tiny_aiplacement {{/pix}}
{{#pix}} sparkles-white, tiny_aiplacement {{/pix}}
</span>
<span class="d-inline-block">
{{#str}} generateimage, tiny_aiplacement {{/str}}

View File

@ -39,7 +39,7 @@
</button>
<button id="{{elementid}}_tiny_aiplacement_generatebutton" type="button" class="btn btn-primary" data-action="generate" disabled="disabled">
<span class="d-inline-block">
{{#pix}} sparkles, tiny_aiplacement {{/pix}}
{{#pix}} sparkles-white, tiny_aiplacement {{/pix}}
</span>
<span class="d-inline-block">
{{#str}} generatetext, tiny_aiplacement {{/str}}