Skip to content
Extraits de code Groupes Projets
Valider 0cb8db67 rédigé par cerdic's avatar cerdic
Parcourir les fichiers

Fix l'icone d'alerte a droite en RTL sans erreur

parent 4c3c7146
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -84,11 +84,11 @@ ...@@ -84,11 +84,11 @@
position: relative; position: relative;
padding: var(--spip-alert-spacing-y) var(--spip-alert-spacing-x); padding: var(--spip-alert-spacing-y) var(--spip-alert-spacing-x);
/* gouttière + taille icone + espacement arbitraire avec le texte */ /* gouttière + taille icone + espacement arbitraire avec le texte */
padding-left: calc(var(--spip-alert-spacing-x) + var(--spip-alert-iconsize) + 0.75em); padding-#LEFT: calc(var(--spip-alert-spacing-x) + var(--spip-alert-iconsize) + 0.75em);
margin: calc(var(--spip-margin-bottom) * 1.5) 0; /* Idem boîtes */ margin: calc(var(--spip-margin-bottom) * 1.5) 0; /* Idem boîtes */
background-repeat: no-repeat; background-repeat: no-repeat;
/* Aligner icône au niveau de la 1ère ligne de texte */ /* Aligner icône au niveau de la 1ère ligne de texte */
background-position: var(--spip-alert-spacing-x) calc(var(--spip-alert-spacing-y) - ((var(--spip-alert-iconsize) - var(--spip-line-height)) / 2)); background-position: [(#LEFT)] var(--spip-alert-spacing-x) top calc(var(--spip-alert-spacing-y) - ((var(--spip-alert-iconsize) - var(--spip-line-height)) / 2));
background-size: var(--spip-alert-iconsize); background-size: var(--spip-alert-iconsize);
font-weight: normal; font-weight: normal;
border-radius: var(--spip-border-radius); border-radius: var(--spip-border-radius);
...@@ -97,9 +97,6 @@ ...@@ -97,9 +97,6 @@
border-#LEFT: 0.5rem solid var(--spip-color-gray-light); border-#LEFT: 0.5rem solid var(--spip-color-gray-light);
} }
.msg-alert:dir(rtl) {
background-position: calc(98% calc(var(--spip-alert-spacing-y) - ((var(--spip-alert-iconsize) - var(--spip-line-height)) / 2));
}
/* Titre */ /* Titre */
.msg-alert__heading { .msg-alert__heading {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter