Skip to content

Commit

Permalink
fix: stickiness
Browse files Browse the repository at this point in the history
  • Loading branch information
flornkm committed Dec 3, 2023
1 parent f8d035d commit 17e85ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interface/sections/Work.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function Work(props: { projects: Record<string, string>[] }) {
class="flex lg:gap-4 gap-2 flex-col md:flex-row items-start relative group/link"
href={project.url}
>
<div class="lg:sticky top-14 py-2 flex-shrink-0">
<div class="lg:sticky lg:top-14 py-2 flex-shrink-0 top-0">
<img
alt={`
Icon of ${project.title} project
Expand Down
2 changes: 1 addition & 1 deletion pages/index/+Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as m from "#lang/paraglide/messages"
export default function Page({ projects }: { projects: any[] }) {
return (
<div class="w-full">
<header class="flex items-center justify-start md:gap-24 gap-16 max-lg:pb-32 w-full py-32 mb-12 lg:justify-between lg:flex-row flex-col-reverse">
<header class="flex items-center justify-start md:gap-24 gap-16 max-lg:pb-16 w-full lg:py-32 mb-12 lg:justify-between lg:flex-row flex-col-reverse">
<div class="lg:h-2/6 h-2/5 max-lg:w-full max-lg:flex">
<div class="cursor-text max-w-2xl">
<h1 class="text-4xl font-semibold leading-snug pointer-events-none transition-colors group hover:text-zinc-400 mb-10">
Expand Down

1 comment on commit 17e85ba

@vercel
Copy link

@vercel vercel bot commented on 17e85ba Dec 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.