Skip to content

Commit b44876d

Browse files
committed
small docs changes
1 parent b7dec23 commit b44876d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/docs/src/components/demo/demo-box.module.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717

1818
.topRight a {
19-
margin-left: .5rem;
19+
margin-left: 1rem;
2020
}
2121

2222
.storySelector {
@@ -34,6 +34,7 @@
3434

3535
.sidebyside {
3636
display: flex;
37+
gap: 1rem;
3738
}
3839

3940
.left, .right {
@@ -48,6 +49,8 @@
4849
font-size: .8rem;
4950
flex-grow: 1;
5051
min-width: 0;
52+
border-radius: 16px;
53+
overflow: hidden;
5154
}
5255

5356
.right pre {

packages/docs/src/components/demo/demo-box.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const DemoBox: FC<DemoBoxProps> = ({
7474
target="_blank"
7575
rel="noreferrer noopener"
7676
>
77-
Code
77+
Full Code
7878
</a>
7979
<a
8080
href={`https://headless-tree.lukasbach.com/storybook/react/index.html?path=/story/${story.id}`}

0 commit comments

Comments
 (0)