v1.1 - Alignement gauche
Alignement du message à gauche au lieu du centre lors du collage.
This commit is contained in:
parent
dba3d9e76a
commit
372a8d7034
|
@ -104,7 +104,7 @@
|
||||||
copyButton.style.display = "inline-block";
|
copyButton.style.display = "inline-block";
|
||||||
|
|
||||||
// Mettre le HTML formaté dans un conteneur caché
|
// Mettre le HTML formaté dans un conteneur caché
|
||||||
hiddenContainer.innerHTML = `<div style='background-color: ${bgColor}; color: ${textColor}; padding: 10px; font-weight: bold; border-radius: 5px; display: inline-block; text-align: center;'>${message}</div>`;
|
hiddenContainer.innerHTML = `<div style='background-color: ${bgColor}; color: ${textColor}; padding: 10px; font-weight: bold; border-radius: 5px; display: inline-block; text-align: left;'>${message}</div>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function setASAP() {
|
function setASAP() {
|
||||||
|
@ -126,7 +126,7 @@
|
||||||
copyButton.style.display = "inline-block";
|
copyButton.style.display = "inline-block";
|
||||||
|
|
||||||
// Mettre le HTML formaté dans un conteneur caché
|
// Mettre le HTML formaté dans un conteneur caché
|
||||||
hiddenContainer.innerHTML = `<div style='background-color: #FFA8A8; color: #8B0000; padding: 10px; font-weight: bold; border-radius: 5px; display: inline-block; text-align: center;'>${message}</div>`;
|
hiddenContainer.innerHTML = `<div style='background-color: #FFA8A8; color: #8B0000; padding: 10px; font-weight: bold; border-radius: 5px; display: inline-block; text-align: left;'>${message}</div>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function copyFormattedBanner() {
|
function copyFormattedBanner() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user