Skip to content

Commit 9f85f15

Browse files
carycooper777O2sa
andauthored
fix(ui): center footer summary and tagline on small screens (#121)
* fix(ui): center footer summary and tagline on small screens Add responsive Tailwind classes (items-center, text-center) to footer container elements for better mobile layout. Closes #120 * refactor: enhance layout styles --------- Co-authored-by: Osama Mabkhot <99215291+O2sa@users.noreply.github.com>
1 parent 4c5aa39 commit 9f85f15

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

components/app-footer.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { cn } from "@/lib/utils";
55
import { GithubLink } from "./github-link";
66

77
export function AppFooter() {
8-
const { t, dir } = useTranslation();
8+
const { t } = useTranslation();
99

1010
return (
1111
<footer className="relative mt-10 border-t border-border/80 py-10 text-sm text-muted-foreground">
@@ -60,14 +60,14 @@ export function AppFooter() {
6060
</div>
6161
</div>
6262

63+
6364
<div
6465
className={cn(
65-
"mt-8 flex flex-col gap-3 border-t border-border/70 pt-4 text-[11px] font-medium uppercase tracking-[0.24em] text-muted-foreground/75 md:items-center md:justify-between",
66-
dir === "rtl" ? "md:flex-row-reverse" : "md:flex-row"
66+
"mt-8 flex flex-col gap-3 border-t border-border/70 pt-4 text-[11px] font-medium uppercase tracking-[0.24em] text-muted-foreground/75 items-center md:justify-between md:flex-row",
6767
)}
6868
>
69-
<span>{t("footer.summary")}</span>
70-
<span>{t("footer.tagline")}</span>
69+
<span>{t("footer.summary")}</span>
70+
<span>{t("footer.tagline")}</span>
7171
</div>
7272
</div>
7373
</footer>

0 commit comments

Comments
 (0)