From cf89efef096dc578ac2a28c7c07d64af4905ee07 Mon Sep 17 00:00:00 2001 From: Precious Onyenaucheya Date: Mon, 9 Dec 2024 11:23:29 +0000 Subject: [PATCH] update css --- .../description-list/_description-list.scss | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/components/description-list/_description-list.scss b/src/components/description-list/_description-list.scss index dc4fcf74ee..619cfb8b6d 100644 --- a/src/components/description-list/_description-list.scss +++ b/src/components/description-list/_description-list.scss @@ -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; + } } } }