fix: UI Improvement in /devcard-demo - Fix Return Home button overlap#182
fix: UI Improvement in /devcard-demo - Fix Return Home button overlap#182anuragbraveboy-sudo wants to merge 1 commit into
Conversation
|
Hi @anuragbraveboy-sudo this is our current demo page. The one for which ss you have mentioned is totally different. Add on to this, if you have created seperate new page for the demo, then how come the current page's implementation is not yet removed? |
|
Hi @ShantKhatri, you were right! I apologise for the confusion. I've now fixed the Return Home button directly in the I have updated the pr description you see check the SCREENSHOT over there .Please let me know if any further changes are needed! |
985f706 to
2e3eaa6
Compare
Please add SS or demo to the new changes. |
|
Hi @anuragbraveboy-sudo , as we have moved out of Svelt and migrated to React, it's recommended to have changes aligned with the new architecture. Happy to review your updated PR. Closing this. |

Fixes #121
Problem
The
/devcard-demoroute did not exist, which meant the Return HomeThe button had no proper page structure — causing it to overlap with
main content, especially on smaller screen sizes.
Root Cause
No
/devcard-demopage existed in the codebase. The button had noparent layout constraints, leading to overlap and broken UI.
Solution
✅ Created the missing
/devcard-demoroute with+page.svelte✅ Used flexbox layout (
flex-direction: column) so Return Homebutton stays in normal document flow — no overlap possible
✅ Added
top-bardiv with proper padding and border separator✅ Dark background (
#0f1222) matching existing DevCard styling✅ Responsive media queries for all breakpoints:
Screenshots
Before Fix:
/devcard-demoroute did not exist — button had no proper styling or layoutAfter Fix:
/devcard-demo✅Testing
pnpm lint→ web app has no lint script (expected per CONTRIBUTING.md)pnpm test→ web app has no test script (expected per CONTRIBUTING.md)