Skip to content

Commit 90c017f

Browse files
committed
force render a gutter
This way we can visualize it a bit better by faking it. We do this in other spots in the docs as well.
1 parent 64f50d9 commit 90c017f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/docs/scrollbar-gutter.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ Use the `scrollbar-gutter-stable` utility to reserve space for the scrollbar eve
3636
</div>
3737
<div>
3838
<p className="mb-3 font-mono text-xs font-medium text-gray-500 dark:text-gray-400">scrollbar-gutter-stable</p>
39-
<div className="relative h-40 overflow-auto rounded-lg bg-gray-50 py-4 scrollbar-gutter-stable dark:bg-white/5">
39+
<div className="relative h-40 rounded-lg bg-gray-50 py-4 pr-4 scrollbar-gutter-stable dark:bg-white/5">
4040
<p className="text-justify">
4141
Hey everyone! It’s almost 2027 and we still don’t know if there are aliens living among us, or do we? Maybe
4242
the person writing this is an alien. You will never know.
4343
</p>
44-
<div className="absolute top-0 -right-3.5 bottom-0 w-4 rounded-r-lg border bg-[image:repeating-linear-gradient(315deg,currentColor_0,currentColor_1px,transparent_0,transparent_50%)] bg-[size:8px_8px] bg-top-left text-black/10 dark:text-white/12.5"></div>
44+
<div className="absolute top-0 right-0 bottom-0 w-4 rounded-r-lg border bg-[image:repeating-linear-gradient(315deg,currentColor_0,currentColor_1px,transparent_0,transparent_50%)] bg-[size:8px_8px] bg-top-left text-black/10 dark:text-white/12.5"></div>
4545
</div>
4646
</div>
4747
</div>

0 commit comments

Comments
 (0)