From 428bd6cf17b8e2c87b8482d975ec84c86353da01 Mon Sep 17 00:00:00 2001 From: Achal Srivastava Date: Sat, 13 Dec 2025 23:38:43 +0530 Subject: [PATCH] Fix:Mobile layout overflow caused by long Github repository link issue-37 --- app/globals.css | 8 ++++++++ app/submit/page.tsx | 2 +- package-lock.json | 11 +++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/app/globals.css b/app/globals.css index ac68442..0203af7 100644 --- a/app/globals.css +++ b/app/globals.css @@ -92,3 +92,11 @@ body { @apply bg-background text-foreground; } } + +@media (max-width: 768px) { + .repo-link-box { + overflow-wrap: break-word; + word-break: break-word; + word-wrap: break-word; + } +} diff --git a/app/submit/page.tsx b/app/submit/page.tsx index 638f35b..29d8f2f 100644 --- a/app/submit/page.tsx +++ b/app/submit/page.tsx @@ -183,7 +183,7 @@ Remember to cite your sources and provide value to our readers!`} Go to our repository -

+

Visit{" "} =0.10.0" } @@ -6771,6 +6778,7 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz", "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==", "license": "MIT", + "peer": true, "dependencies": { "scheduler": "^0.26.0" }, @@ -7960,6 +7968,7 @@ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz", "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==", "license": "MIT", + "peer": true, "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", @@ -8130,6 +8139,7 @@ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -8317,6 +8327,7 @@ "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "dev": true, "license": "Apache-2.0", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver"