Skip to content

Commit

Permalink
Format & lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zenoachtig committed Jan 23, 2025
1 parent a65654e commit e0f7190
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion packages/gitbook/src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ export function Header(props: {
'xl:ml-[max(calc((100%-18rem-48rem-14rem-3rem)/2),1.5rem)]',
'lg:mr-auto',
'page-no-toc:xl:ml-[max(calc((100%-18rem-48rem-18rem-3rem)/2),1.5rem)]',
isMultiVariants && 'page-no-toc:lg:ml-0 page-no-toc:xl:ml-0',
isMultiVariants &&
'page-no-toc:lg:ml-0 page-no-toc:xl:ml-0',
'order-last',
'lg:order-[unset]',
]
Expand Down
2 changes: 1 addition & 1 deletion packages/gitbook/src/components/Header/HeaderLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export async function HeaderLink(props: {
);
}}
>
<DropdownMenu >
<DropdownMenu>
{link.links.map((subLink, index) => (
<SubHeaderLink key={index} {...props} link={subLink} />
))}
Expand Down
2 changes: 0 additions & 2 deletions packages/gitbook/src/components/Header/headerLinks.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


.linkEllipsis {
display: none;
& div > a {
Expand Down
4 changes: 3 additions & 1 deletion packages/gitbook/src/components/Search/SearchButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ const Shortcut = () => {
>
{operatingSystem === 'mac' ? '⌘' : 'Ctrl'}
</kbd>
<kbd className="rounded border border-dark/2 dark:border-light/2 size-5 flex justify-center items-center">K</kbd>
<kbd className="rounded border border-dark/2 dark:border-light/2 size-5 flex justify-center items-center">
K
</kbd>
</div>
);
};

0 comments on commit e0f7190

Please sign in to comment.