mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-08-05 13:46:35 -07:00
fix: adjust spacing in FeatureList mdx component
This commit is contained in:
+15
-2
@@ -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 {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user