Skip to content

Commit cd13a4a

Browse files
committed
fix(sidebar): styling issues
1 parent dda2895 commit cd13a4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/website/src/components/DocContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function DocContainer({ name, kind, excerpt, summary, typeParams, childre
2121
return (
2222
<>
2323
<div className="bg-white border-b-solid border-gray border-width-0.5 sticky top-0 px-10 py-2">
24-
<h2 className="font-mono break-all m-0">
24+
<h2 className="flex items-center font-mono break-all m-0">
2525
{generateIcon(kind, 'mr-2')}
2626
{name}
2727
</h2>

packages/website/src/components/ItemSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function ItemSidebar({ packageName, data }: ItemListProps) {
2727
<FiMenu size={32} />
2828
</button>
2929
</div>
30-
<div className="hidden lg:block overflow-y-scroll overflow-x-clip p-7">
30+
<div className="hidden lg:block lg:min-h-screen overflow-y-scroll overflow-x-clip p-7">
3131
{data.members.map((member, i) => (
3232
<div key={i} className="mb-1">
3333
<a

0 commit comments

Comments
 (0)