Skip to content

Commit 2f3aefd

Browse files
committed
overlay positioning
1 parent 2352a17 commit 2f3aefd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/overlay-404/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const Overlay404 = () => {
44
return (
55
<div className="absolute inset-0 z-50 flex items-center justify-center">
66
<div className="w-full h-full relative">
7-
<div className="absolute top-4 md:top-12 left-1/2 -translate-x-1/2 md:left-auto md:right-12 md:translate-x-0 text-white bg-background w-[174px] lg:w-[204px] text-right font-mono text-xs md:text-sm lg:pl-4 py-1 px-3 md:py-2">
7+
<div className="absolute top-4 md:top-3 left-1/2 -translate-x-1/2 md:left-auto md:right-14 md:translate-x-0 text-white bg-background w-[274px] lg:w-[264px] text-right font-mono text-xs md:text-sm lg:pl-4 py-1 px-3 md:py-2">
88
<Link href="/" className="z-10">
99
Go back home
1010
</Link>

src/components/overlay/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ export const Overlay = () => {
22
return (
33
<div className="absolute inset-0 z-50 flex items-center justify-center">
44
<div className="w-full h-full relative">
5-
<div className="absolute top-4 md:top-12 left-1/2 -translate-x-1/2 md:left-auto md:right-12 md:translate-x-0 text-white bg-background w-[274px] lg:w-[264px] text-right font-mono text-xs md:text-sm lg:pl-4 py-1 px-3 md:py-2">
5+
<div className="absolute top-4 md:top-3 left-1/2 -translate-x-1/2 md:left-auto md:right-14 md:translate-x-0 text-white bg-background w-[274px] lg:w-[264px] text-right font-mono text-xs md:text-sm lg:pl-4 py-1 px-3 md:py-2">
66
Vortex is a highly performant, extensible columnar data format
77
</div>
88

9-
<div className="absolute bottom-5 md:bottom-1 left-1/2 -translate-x-1/2 md:left-14 md:translate-x-0 text-white bg-background w-[274px] lg:w-[324px] text-left font-mono text-xs md:text-sm lg:px-4 py-1 px-3 md:py-2">
9+
<div className="absolute bottom-5 md:bottom-3 left-1/2 -translate-x-1/2 md:left-14 md:translate-x-0 text-white bg-background w-[274px] lg:w-[324px] text-left font-mono text-xs md:text-sm lg:px-4 py-1 px-3 md:py-2">
1010
It&apos;s both a file format and a memory format, enabling compute
1111
over compressed data
1212
</div>

0 commit comments

Comments
 (0)