UI: make floating share buttons stop at the end of the article

This commit is contained in:
2026-05-10 14:33:38 +02:00
parent 15700036e5
commit 94de36e937
2 changed files with 10 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ export default function BlogShareButtons({ title }: Props) {
if (!url) return null;
return (
<div className="fixed bottom-4 right-4 lg:top-1/2 lg:right-8 lg:-translate-y-1/2 lg:bottom-auto flex flex-col gap-3 z-50">
<div className="flex flex-row lg:flex-col gap-3 z-50">
<a
href={shareLinks.facebook}
target="_blank"