Skip to content

Commit e4c76d6

Browse files
Fixed Grid Overlapping and Extra Padding Issue (#3564)
1 parent 9769b90 commit e4c76d6

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

sites/skeleton.dev/src/content/docs/get-started/introduction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Skeleton provides a uniform design language and structured framework for control
8989

9090
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
9191

92-
<div className="col-span-2 card preset-outlined-surface-200-800 bg-surface-50-950 p-10 space-y-4">
92+
<div className="col-span-1 md:col-span-2 card preset-outlined-surface-200-800 bg-surface-50-950 p-10 space-y-4">
9393
<h3 className="h3">Functional Components</h3>
9494
{/* prettier-ignore */}
9595
<p className="text-surface-700-300">

sites/skeleton.dev/src/layouts/LayoutDoc.astro

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,11 @@ const urls = {
6464
<!-- Page -->
6565
<div class="container mx-auto grid grid-cols-1 xl:grid-cols-[240px_minmax(0px,_1fr)_280px] px-4 xl:px-10">
6666
<!-- Navigation -->
67-
<aside
68-
class="hidden xl:block self-start sticky top-[70px] h-[calc(100vh-70px)] py-4 xl:py-10 !pb-96 overflow-y-auto pr-10"
69-
data-navigation
70-
>
67+
<aside class="hidden xl:block self-start sticky top-[70px] h-[calc(100vh-70px)] py-4 xl:py-10 overflow-y-auto pr-10" data-navigation>
7168
<Navigation />
7269
</aside>
7370
<!-- Main -->
74-
<main class="px-4 xl:px-10 py-10 !pb-96 space-y-8 [&_.scroll-header]:scroll-mt-[calc(70px+40px)]">
71+
<main class="px-4 xl:px-10 py-10 space-y-8 [&_.scroll-header]:scroll-mt-[calc(70px+40px)]">
7572
<!-- Header -->
7673
<header class="scroll-header space-y-4" data-pagefind-body id="_top">
7774
<!-- Breadcrumbs -->

0 commit comments

Comments
 (0)