Projet

Général

Profil

Development #73506

Les champs de type "tel" dans une grille ne sont pas disposés comme les autres

Ajouté par Benjamin Dauvergne il y a plus d'un an. Mis à jour il y a plus d'un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
17 janvier 2023
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Cf. #72757-21

        @for $j from 1 through $i {
                div.grid-#{$j}-#{$i} {
                        float: left;
                        box-sizing: border-box;
                        padding-right: 1em;
                        width: (100*$j/$i+0%);
                        @media screen and (max-width: $grid-mobile-limit) {
                                @if $i == 4 and $j <= 2 { width: 50%; }
                                @else if $i == 4 and $j >  2 { width: 100%; }
                                @else if $i == 6 and $j <= 2 { width: (100/3+0%); }
                                @else if $i == 6 and $j == 3 { width: 50%; }
                                @else if $i == 6 and $j <= 5 { width: (200/3+0%); }
                                @else if $i == 6 and $j == 6 { width: 100%; }
                                @else if $i == 12 and $j <= 4 { width: (100/3+0%); }
                                @else if $i == 12 and $j <= 7 { width: 50%; }
                                @else if $i == 12 and $j <= 11 { width: (200/3+0%); }
                                @else if $i == 12 and $j == 12 { width: 100%; }
                        }
                        @media screen and (max-width: $very-small-limit) {
                                width: 100%;
                        }
                        table, textarea, select, input[type=text], input[type=password], input[type=email] {
                                width: 100%;
                        }

Il faudrait peut-être ajouter input[type=tel] dans cette liste.


Fichiers

Révisions associées

Révision 20e8fc95 (diff)
Ajouté par Frédéric Péters il y a plus d'un an

css: sync grid with publik-base-theme (inputs & never-alone) (#73506)

Historique

#2

Mis à jour par Thomas Jund il y a plus d'un an

dans publik-base-theme il y a

table, textarea, select, input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], input[type=file], input[type=date], input[type=datetime-local], input[type=month], input[type=time], input[type=week] 

Pourquoi toute cette liste ? Je ne sais pas, pourquoi pas, simplement

table, textarea, select, input
#3

Mis à jour par Benjamin Dauvergne il y a plus d'un an

Une idée de pourquoi la ligne dans publik-base-theme ne semble pas s'appliquer à Toulouse ? (pour voir aller sur https://agents-montoulouse.eservices.toulouse-metropole.fr/fiche-usager/f6e5970ecde04229b52be7a5b8249d27/ et commencer une Demande de signalement).

Parce qu'on est en backoffice bête que je suis.

#4

Mis à jour par Benjamin Dauvergne il y a plus d'un an

  • Tracker changé de Support à Development
  • Projet changé de Intégrations graphiques Publik à Gadjo
#5

Mis à jour par Frédéric Péters il y a plus d'un an

Pourquoi toute cette liste ? Je ne sais pas, pourquoi pas, simplement (...)

En remontant l'historique git tu peux arriver à #10864.

#6

Mis à jour par Frédéric Péters il y a plus d'un an

  • Assigné à mis à Frédéric Péters
#7

Mis à jour par Frédéric Péters il y a plus d'un an

Vague sync avec publik-base-theme (en plus des différents input il y avait aussi la classe never-alone ajoutée dans #29561 et un déplacement du code pour ne pas répéter ces parties sur toutes les grid-x-y.

#8

Mis à jour par Thomas Jund il y a plus d'un an

  • Statut changé de Solution proposée à Nouveau
  • Patch proposed changé de Oui à Non

En remontant l'historique git tu peux arriver à #10864.

Mais bien sûr :)

Alors je préconise pour simplifier

table, textarea, select, input:not([type=checkbox]):not([type=radio]) { ... }
#9

Mis à jour par Frédéric Péters il y a plus d'un an

En remontant l'historique git tu peux arriver à #10864.

Mais bien sûr :)

git log -S type=text static/includes/ donne trois commits, c'était assez facile.

Alors je préconise pour simplifier

(attaché)

#10

Mis à jour par Thomas Jund il y a plus d'un an

  • Statut changé de Solution proposée à Solution validée
#11

Mis à jour par Frédéric Péters il y a plus d'un an

  • Statut changé de Solution validée à Résolu (à déployer)
commit 20e8fc9594a4bbf3178eb824fca7a7541e33e591
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Tue Jan 17 18:03:45 2023 +0100

    css: sync grid with publik-base-theme (inputs & never-alone) (#73506)
#12

Mis à jour par Transition automatique il y a plus d'un an

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

Mis à jour par Transition automatique il y a environ un an

Automatic expiration

Formats disponibles : Atom PDF