Skip to content

Commit

Permalink
Merge branch 'main' into upgradeOramaSearchbox
Browse files Browse the repository at this point in the history
  • Loading branch information
rjborba authored Dec 3, 2024
2 parents ed994d6 + bda6524 commit 3d5fbc2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/components/DocsLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ export function DocsLayout({
)}
>
{children}
<div className="fixed flex items-center flex-wrap bottom-2 left-0 lg:left-[250px] z-10 right-0 text-xs md:text-sm px-1">
<div className="fixed flex items-center flex-wrap bottom-2 left-0 lg:left-[250px] z-10 right-0 text-xs md:text-sm px-1 print:hidden">
<div className="w-1/2 px-1 flex justify-end flex-wrap">
{prevItem ? (
<Link
Expand Down Expand Up @@ -698,7 +698,7 @@ export function DocsLayout({
</div>
</div>
{showBytes ? (
<div className="w-[300px] max-w-[350px] fixed md:hidden top-1/2 right-2 z-30 -translate-y-1/2 shadow-lg">
<div className="w-[300px] max-w-[350px] fixed md:hidden top-1/2 right-2 z-30 -translate-y-1/2 shadow-lg print:hidden">
<div className="bg-white dark:bg-gray-900/30 border border-black/10 dark:border-white/10 p-4 md:p-6 rounded-lg">
{libraryId === 'query' ? (
<DocsCalloutQueryGG />
Expand All @@ -717,7 +717,7 @@ export function DocsLayout({
</div>
) : (
<button
className="right-0 top-1/2 -translate-y-[50px] fixed lg:hidden"
className="right-0 top-1/2 -translate-y-[50px] fixed lg:hidden print:hidden"
onClick={() => {
setShowBytes(true)
}}
Expand Down
4 changes: 4 additions & 0 deletions app/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -518,3 +518,7 @@ pre .logger.log-log svg {
.markdown-alert .markdown-alert-title {
@apply flex justify-start items-center font-medium mb-1.5;
}

.bg-clip-text {
@apply print:text-gray-800;
}

0 comments on commit 3d5fbc2

Please sign in to comment.