1 pièce(s) jointe(s)
Sweet alert texte à gauche
Bonjour à tous
J'ai une alerte dont j'aimerai aligner le texte à gauche plutôt qu'au centre. J'essai en vain.
Ci joint en image, je voudrais aligner le texte encadrer sur la gauche.
Pièce jointe 536765
Le script
Code:
1 2 3 4 5 6
| Swal.fire({
title:'<strong>Info produit : '+data.id+'</strong>',
type: 'info',
html: '<b>Designation : </b>'+data.designation+'<br><b>Unite : </b>'+data.unite+'<br><b>Prix : </b>'+data.prix+'<br><b>Categorie : </b>'+data.categorie+'<br><b>Sous Categorie : </b>'+data.sous_categorie+'<br><b>Fournisseur : </b>'+data.fournisseur+'<br><b>Statut : </b>'+data.statut,
showCancelButton: false,
}) |
Merci d'avance
cordialement