Development #61633
notifications, alignement des textes dans le bloc
Début:
10 février 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Le texte d'un block notication est aligné en top, et pas en rapport avec l'icon ou le bloc.
Cela est plus ou moins corrigé à coup de padding sur le premier p (sauf sur les messages de django), mais.
- ne s'adapte pas quand on ajuste la taille de l'icon,
- n'est pas appliqué sur les autres balise que p (comme un titre d'une cell texte)
Je propose de centrer verticalement le text dans son block : si block + grand que son contenu (parce que grand icon) alors text centré verticalement et aligné sur l'icon qui est centré aussi. Si texte de plusieurs lignes alors hauteur du texte == hauteur du block.
Fichiers
Demandes liées
Révisions associées
css: center vertically notification text in block (#61633)
Historique
Mis à jour par Thomas Jund il y a environ 2 ans
- Sujet changé de notifications, alignement des textes dasn le bloc à notifications, alignement des textes dans le bloc
Mis à jour par Thomas Jund il y a environ 2 ans
- Fichier notif-text-align.png notif-text-align.png ajouté
Mis à jour par Thomas Jund il y a environ 2 ans
- Bloqué par Development #61625: $notification-icon-size ajouté
Mis à jour par Thomas Jund il y a environ 2 ans
- Fichier 0001-css-center-vertically-notification-text-in-block-616.patch 0001-css-center-vertically-notification-text-in-block-616.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Thomas Jund il y a environ 2 ans
- Bloque Development #61639: $notification-icon-position ajouté
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 2 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Thomas Jund il y a environ 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 62e028f46e93e8259918ebb4c3e9d1b766b388c3 Author: Thomas JUND <tjund@entrouvert.com> Date: Thu Feb 10 11:14:47 2022 +0100 css: center vertically notification text in block (#61633)
Mis à jour par Transition automatique il y a environ 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
css: center vertically notification text in block (#61633)