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(header): espacement des liens d'accès rapide en mobile [DS-3683] #859

Merged
merged 2 commits into from
Jan 31, 2024
Merged
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
31 changes: 18 additions & 13 deletions src/component/header/style/module/_links.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,21 @@
////

#{ns(header)} {
#{ns-group(btns)} {
#{ns-group(btns)} {
&:not(#{ns-group(btns)}--sm):not(#{ns-group(btns)}--lg) {
@include class-not-start-with(#{ns(btns-group--icon-, '')}) {
#{ns(btn)} {
justify-content: flex-start;
@include nest-btn(md, left, null, null, false);

@include has-icon {
@include nest-btn(sm, left, null, null, false);
}
@include respond-from(lg) {
@include has-icon {
@include nest-btn(sm, left, null, null, false);
}

@include has-not-icon {
@include nest-btn(sm, left, null, null, false);
@include has-not-icon {
@include nest-btn(sm, left, null, null, false);
}
}
}
}
Expand Down Expand Up @@ -79,15 +82,17 @@
@include display-flex(column);

#{ns(btn)} {
@include width(calc(100% - 4v));
@include min-size(null, 12v);
@include padding-x(0);
@include margin-bottom(0);
@include text-style(md);
@include has-icon {
@include min-size(null, 12v);
@include padding-x(0);
}

@include respond-from(lg) {
@include text-style(sm);
@include has-not-icon {
@include min-size(null, 12v);
@include padding-x(0);
}

@include margin-bottom(0);
}
}
}
Expand Down