Projet

Général

Profil

Development #61633

notifications, alignement des textes dans le bloc

Ajouté par Thomas Jund il y a environ 2 ans. Mis à jour il y a environ 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
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

notif-text-align.png (13,5 ko) notif-text-align.png mauvais alignement texte sur notifs django Thomas Jund, 10 février 2022 12:18
0001-css-center-vertically-notification-text-in-block-616.patch (1004 octets) 0001-css-center-vertically-notification-text-in-block-616.patch Thomas Jund, 10 février 2022 12:27

Demandes liées

Bloqué par Intégrations graphiques Publik - Development #61625: $notification-icon-sizeFermé10 février 2022

Actions
Bloque Intégrations graphiques Publik - Development #61639: $notification-icon-positionFermé10 février 2022

Actions

Révisions associées

Révision 3f630422 (diff)
Ajouté par Thomas Jund il y a environ 2 ans

css: center vertically notification text in block (#61633)

Révision 62e028f4 (diff)
Ajouté par Thomas Jund il y a environ 2 ans

css: center vertically notification text in block (#61633)

Historique

#1

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
#2

Mis à jour par Thomas Jund il y a environ 2 ans

#3

Mis à jour par Thomas Jund il y a environ 2 ans

#4

Mis à jour par Thomas Jund il y a environ 2 ans

  • Tracker changé de Support à Development
#5

Mis à jour par Thomas Jund il y a environ 2 ans

#6

Mis à jour par Thomas Jund il y a environ 2 ans

#7

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
#8

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)
#9

Mis à jour par Transition automatique il y a environ 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#10

Mis à jour par Transition automatique il y a environ 2 ans

Automatic expiration

Formats disponibles : Atom PDF