Skip to content

Commit 2d3a867

Browse files
committed
fix(#980): Standardize section spacing for consistent layout
1 parent eb64e4c commit 2d3a867

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/css/custom.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,7 @@ a {
16021602

16031603
/* ================= MISCELLANEOUS ================= */
16041604
/* Fix Home icon alignment with text in breadcrumbs [Docs] */
1605-
.theme-doc-breadcrumbs a.breadcrumbs__link > svg {
1605+
.theme-doc-breadcrumbs a.breadcrumbs__link>svg {
16061606
display: inline-block;
16071607
}
16081608

@@ -1798,7 +1798,7 @@ html[data-theme="light"] [data-slot="card-header"].bg-gradient-to-br {
17981798
/* Issue #980: Fix inconsistent padding and margins across sections */
17991799

18001800
/* Standard section spacing: 2rem vertical, 1.5rem horizontal on smaller screens */
1801-
main > div:not(.m-0) {
1801+
main>div:not(.m-0) {
18021802
margin-top: 2rem;
18031803
margin-bottom: 2rem;
18041804
}
@@ -1810,7 +1810,7 @@ main > div:not(.m-0) {
18101810

18111811
/* Responsive: reduce spacing on mobile devices */
18121812
@media (max-width: 768px) {
1813-
main > div:not(.m-0) {
1813+
main>div:not(.m-0) {
18141814
margin-top: 1.5rem;
18151815
margin-bottom: 1.5rem;
18161816
}
@@ -1841,5 +1841,4 @@ h2:first-child,
18411841
h3:first-child {
18421842
margin-top: 0;
18431843
margin-bottom: 1rem;
1844-
}
1845-
1844+
}

src/pages/index.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
display: flex;
2222
align-items: center;
2323
justify-content: center;
24-
}
24+
}

0 commit comments

Comments
 (0)