Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
fix: Properly Y-center overlaid text
Browse files Browse the repository at this point in the history
Signed-off-by: AlexNg <[email protected]>
  • Loading branch information
caffeine-addictt committed Aug 13, 2024
1 parent b276be9 commit 8cd217b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/pages/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const RootPage: PageComponent = (props) => {
loading="eager"
height="600"
></img>
<div className="absolute bottom-6 left-1 mb-4 md:bottom-1/3 md:left-10 lg:bottom-1/2">
<div className="absolute top-1/2 mb-4 ml-2 flex size-fit -translate-y-1/2 flex-col md:bottom-1/3 md:left-10 lg:bottom-1/2">
<h1 className="text-2xl font-bold md:text-4xl lg:text-6xl">
GreenBites <span className="text-green-700">SG</span>
</h1>
Expand Down

0 comments on commit 8cd217b

Please sign in to comment.