From 19d1df2f68a95f743408b6a7124ec01b2b93ff79 Mon Sep 17 00:00:00 2001 From: Ryan Chen Date: Mon, 27 Oct 2025 11:57:54 -0400 Subject: [PATCH 1/8] Improve mobile responsiveness with Tailwind breakpoints MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace fixed-width containers (min-w-xl max-w-xl) with responsive classes - Mobile: full width with padding, Tablet: 90% max 768px, Desktop: max 1024px - Make ChatScreen header stack vertically on mobile, horizontal on desktop - Add touch-friendly button sizes (min 44x44px tap targets) - Optimize textarea and form inputs for mobile keyboards - Add text wrapping (break-words) to message bubbles to prevent overflow - Apply responsive text sizing (text-sm sm:text-base) throughout - Improve ConversationList with touch-friendly hit areas - Add responsive padding/spacing across all components All components now use standard Tailwind breakpoints: - sm: 640px+ (tablet) - md: 768px+ (larger tablet) - lg: 1024px+ (desktop) - xl: 1280px+ (large desktop) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../src/components/AnswerBubble.tsx | 8 +++--- raggr-frontend/src/components/ChatScreen.tsx | 22 +++++++++------- .../src/components/ConversationList.tsx | 13 ++++++---- raggr-frontend/src/components/LoginScreen.tsx | 26 ++++++++++++------- .../src/components/QuestionBubble.tsx | 6 ++++- 5 files changed, 46 insertions(+), 29 deletions(-) diff --git a/raggr-frontend/src/components/AnswerBubble.tsx b/raggr-frontend/src/components/AnswerBubble.tsx index f439634..dc42541 100644 --- a/raggr-frontend/src/components/AnswerBubble.tsx +++ b/raggr-frontend/src/components/AnswerBubble.tsx @@ -7,7 +7,7 @@ type AnswerBubbleProps = { export const AnswerBubble = ({ text, loading }: AnswerBubbleProps) => { return ( -
+
{loading ? (
@@ -20,8 +20,10 @@ export const AnswerBubble = ({ text, loading }: AnswerBubbleProps) => {
) : ( -
- {"🐈: " + text} +
+ + {"🐈: " + text} +
)}
diff --git a/raggr-frontend/src/components/ChatScreen.tsx b/raggr-frontend/src/components/ChatScreen.tsx index b214a7c..fe8b96e 100644 --- a/raggr-frontend/src/components/ChatScreen.tsx +++ b/raggr-frontend/src/components/ChatScreen.tsx @@ -160,14 +160,14 @@ export const ChatScreen = ({ setAuthenticated }: ChatScreenProps) => {
-
-
+
+
-

ask simba!

+

ask simba!

-
+