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

🐛 fix(link, card, tile): enlarge button [DS-3798] #943

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

zellerbaptiste
Copy link
Contributor

  • ajoute une classe utilitaire enlarge-button utilisĂ©e sur les cartes et les tuiles de tĂ©lĂ©chargement pour Ă©largir la zone de clique Ă  tout le composant quand l'element cliquable est un bouton

@zellerbaptiste zellerbaptiste added correctif Quelque chose ne fonctionne pas à vérifier maj 1.11.2 labels Jun 3, 2024
@zellerbaptiste zellerbaptiste added this to the 1.12.0 milestone Jun 3, 2024
@zellerbaptiste zellerbaptiste self-assigned this Jun 3, 2024
@zellerbaptiste zellerbaptiste changed the base branch from main to dev-1.12.0 June 3, 2024 13:30
Copy link
Contributor

@keryanS keryanS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Utiliser le nouveau template action du core pour inserer le lien, on voit ensemble si tu veux

linkClasses.push(prefix + '-link--download');
}

if (link.assess === true) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

le assess file n'est pas possible en button car pas de href

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corrigé

}

#{ns(enlarge-button)} {
@include enlarge('button');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pas besoin de guillemets je pense

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corrigé

src/component/card/template/ejs/card.ejs Show resolved Hide resolved
/// @group core
////

#{ns(enlarge-link)} {
@mixin enlarge($markup) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@mixin enlarge($markup) {
@mixin enlarge($selector, $markup) {
#{ns('enlarge-$selector') {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ajouté

@@ -38,3 +36,11 @@
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
}}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ajouté

Comment on lines 40 to 42
#{ns(enlarge-link)} {
@include enlarge('a');
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#{ns(enlarge-link)} {
@include enlarge('a');
}
@include enlarge(link, a);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ajouté

Comment on lines 44 to 46
#{ns(enlarge-button)} {
@include enlarge('button');
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#{ns(enlarge-button)} {
@include enlarge('button');
}
@include enlarge(button, button);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ajouté

@keryanS keryanS changed the title 🐛 Fix/link card tile enlarge button [DS-3798] 🐛 fix(link, card, tile): enlarge button [DS-3798] Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
correctif Quelque chose ne fonctionne pas maj 1.11.2 PrĂȘt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants