Skip to content

Commit

Permalink
docs: adjust on this page top position (QwikDev#3051)
Browse files Browse the repository at this point in the history
* Move on this page down

Move on this page down so that it's title (h6) is no longer hidden behind the header

* set top position to 14rem

---------

Co-authored-by: roman zanettin <[email protected]>
  • Loading branch information
guigui64 and zanettin authored Mar 4, 2023
1 parent bcafead commit c0c68ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/src/components/on-this-page/on-this-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const OnThisPage = component$(() => {
const editUrl = `https://github.com/BuilderIO/qwik/edit/main/packages/docs/src/routes${url.pathname}index.mdx`;

return (
<aside class="on-this-page fixed text-sm z-20 bottom-0 right-[max(0px,calc(50%-42rem))] overflow-y-auto hidden xl:block xl:w-[16rem] xl:top-[9rem]">
<aside class="on-this-page fixed text-sm z-20 bottom-0 right-[max(0px,calc(50%-42rem))] overflow-y-auto hidden xl:block xl:w-[16rem] xl:top-[14rem]">
{contentHeadings.length > 0 ? (
<>
<h6>On This Page</h6>
Expand Down

0 comments on commit c0c68ba

Please sign in to comment.