From 3c1cd1a93f67593a2aaf4e67fcf91a2b7437957d Mon Sep 17 00:00:00 2001 From: Hossein Mehrabi Date: Tue, 6 Jun 2023 14:47:04 +0330 Subject: [PATCH] fix: adjust spacing in FeatureList mdx component --- .../components/mdx/FeatureList/FeatureList.scss | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/packages/logos-docusaurus-theme/src/client/components/mdx/FeatureList/FeatureList.scss b/packages/logos-docusaurus-theme/src/client/components/mdx/FeatureList/FeatureList.scss index b47530f..1e0b466 100644 --- a/packages/logos-docusaurus-theme/src/client/components/mdx/FeatureList/FeatureList.scss +++ b/packages/logos-docusaurus-theme/src/client/components/mdx/FeatureList/FeatureList.scss @@ -32,8 +32,6 @@ border-top: 1px solid rgb(var(--lsd-border-primary)); &:nth-child(odd) { - padding-right: 0; - .mdx-feature-list__feature-inner { border-right: 1px solid rgb(var(--lsd-border-primary)); } @@ -53,6 +51,21 @@ padding: 0 1rem; } +@include utils.responsive('lg', 'up') { + .mdx-feature-list__feature { + &:nth-child(even) { + & > div { + padding-left: 1rem; + } + } + + &:nth-child(odd) { + padding-right: 0; + padding-left: 0.5rem; + } + } +} + @include utils.responsive('lg', 'down') { .mdx-feature-list { }