Skip to content

Commit

Permalink
fix: adjust spacing in FeatureList mdx component
Browse files Browse the repository at this point in the history
  • Loading branch information
jeangovil committed Jun 6, 2023
1 parent 623baf9 commit 3c1cd1a
Showing 1 changed file with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand All @@ -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 {
}
Expand Down

0 comments on commit 3c1cd1a

Please sign in to comment.