Skip to content

Commit

Permalink
update css
Browse files Browse the repository at this point in the history
  • Loading branch information
precious-onyenaucheya-ons committed Dec 9, 2024
1 parent 5d0e332 commit cf89efe
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions src/components/description-list/_description-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,21 @@
margin-top: 0.5rem;
}
}
.ons-description-list--inline & .ons-description-list__value:nth-of-type(1) {
@include mq(l) {
margin-top: 0;
}
@include mq(xs, l) {
margin-top: 0.5rem;

.ons-description-list--inline & {
.ons-description-list__value:nth-of-type(1) {
@include mq(l) {
margin-top: 0;
}
@include mq(xs, l) {
margin-top: 0.5rem;
}
}
}
.ons-description-list--inline & .ons-description-list__term {
@include mq(l) {
margin-top: 0;

.ons-description-list__term {
@include mq(l) {
margin-top: 0;
}
}
}
}
Expand Down

0 comments on commit cf89efe

Please sign in to comment.