Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prévient les listes vides #208

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Prévient les listes vides #208

wants to merge 1 commit into from

Conversation

LucienMLD
Copy link
Member

🎯 Objectif

Dans le header il peut y avoir des <ul> vide s'il n'y a pas de contenue.

🔍 Implémentation

Mettre la liste à l'intérieur du bloc

⚠️ Informations supplémentaires

D'après ce que j'ai pu voir c'est au niveau du select du thème. Sur Wgtail si on choisit de ne pas afficher le select il reste une balise vide.

@Ash-Crow je n'ai pas en tête si ça peut avoir des incidences sur des projets qui utilisent Django DSFR.

🖼️ Images

Transverse 9 3

@Ash-Crow
Copy link
Collaborator

Il faudrait introduire un bloc avec un autre nom je pense, pour ne pas casser les utilisations actuelles.

@LucienMLD
Copy link
Member Author

Il faudrait introduire un bloc avec un autre nom je pense, pour ne pas casser les utilisations actuelles.

Si on crée un nouveau bloc on aura toujours une balise <ul> de vide non ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants