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(close-btn): retire le margin-left négatif [DS-3522] #784

Merged
merged 2 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/component/alert/style/_module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}

#{ns(btn--close)} {
@include absolute(1v,5v);
@include absolute(1v,1v);
@include nest-btn(sm, only, close-line, null, false);
}

Expand Down
1 change: 0 additions & 1 deletion src/component/button/style/module/_close.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
@include nest-btn(sm, right, close-line, null, false);
display: flex;
@include margin-left(auto);
@include margin-right(-4v);
}
2 changes: 2 additions & 0 deletions src/component/consent/example/sample/modal/body.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ function getRadios (id, itemId, type) {
let elementAccept = type === 'all' ? {label: 'Tout accepter'} : { label : 'Accepter'};
let elementRefuse = type === 'all' ? {label: 'Tout refuser'} : { label : 'Refuser'};
let disabled = type === 'mandatory';
let checked = type === 'mandatory';

return [
{
name: id + '-' + name,
...elementAccept,
id: id + '-' + name + '-accept',
checked: checked
},
{
name: id + '-' + name,
Expand Down
1 change: 0 additions & 1 deletion src/component/navigation/style/module/_mega-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
display: none;
@include respond-from(lg) {
display: flex;
@include margin-right(0);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/component/notice/style/_module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#{ns(btn--close)} {
@include nest-btn(sm, only, close-line, null, false);
@include absolute(-1v, 4v);
@include absolute(-1v, 0);
}

&--info {
Expand Down