Skip to content

Commit 517efaf

Browse files
committed
Unify paddings
1 parent 8d45c16 commit 517efaf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/index-page/how-it-works/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function HowItWorks() {
3636
<h2 className="typography-h2 mb-6 lg:mb-16">A GraphQL Query</h2>
3737
<div className="relative">
3838
{/* eslint-disable-next-line tailwindcss/no-custom-classname*/}
39-
<ol className="gql-radial-gradient list-none gap-px max-md:bg-gradient-to-r max-md:from-transparent max-md:via-neu-400 max-md:to-transparent lg:grid lg:grid-cols-3">
39+
<ol className="gql-radial-gradient list-none gap-px max-lg:before:absolute max-lg:before:inset-x-0 max-lg:before:-top-2 max-lg:before:bottom-[98%] max-lg:before:bg-[rgb(var(--nextra-bg))] max-md:bg-gradient-to-r max-md:from-transparent max-md:via-neu-400 max-md:to-transparent lg:grid lg:grid-cols-3">
4040
<HowItWorksListItem
4141
text="Describe your data"
4242
code={<HowItWorks_Schema />}

src/components/interactive-code-block/syntax-highlighting.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
}
7171

7272
& .cm-line {
73-
padding: 0 0 0 16px;
73+
@apply pl-0 lg:pl-4;
7474
}
7575

7676
& .cm-scroller {

0 commit comments

Comments
 (0)