File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/components/ChatbotComponent Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,9 @@ const UserMessageBubble = styled.div`
4949 color: #ffffff;
5050 font-size: ${ ( { theme } ) => theme . fontSizes . base } ;
5151 line-height: 1.6;
52+ white-space: pre-wrap;
5253 word-wrap: break-word;
54+ overflow-wrap: break-word;
5355 box-shadow: 0 2px 8px rgba(64, 140, 255, 0.2);
5456 transition:
5557 transform 0.2s ease,
@@ -78,7 +80,9 @@ const ResponseText = styled.div`
7880 line-height: 1.6;
7981 margin-bottom: ${ ( { theme } ) => theme . spacing . md } ;
8082 animation: ${ fadeIn } 0.5s ease-out;
81- whitespace: pre-wrap;
83+ white-space: pre-wrap;
84+ word-wrap: break-word;
85+ overflow-wrap: break-word;
8286
8387 @media (max-width: ${ ( { theme } ) => theme . breakpoints . tablet } ) {
8488 font-size: ${ ( { theme } ) => theme . fontSizes . sm } ;
Original file line number Diff line number Diff line change @@ -126,12 +126,12 @@ const WelcomeTitle = styled.h1`
126126 animation: ${ slideUp } 0.8s ease-out;
127127
128128 @media (max-width: ${ ( { theme } ) => theme . breakpoints . tablet } ) {
129- font-size: 2rem ;
129+ font-size: 1.9rem ;
130130 margin-bottom: ${ ( { theme } ) => theme . spacing . md } ;
131131 }
132132
133133 @media (max-width: ${ ( { theme } ) => theme . breakpoints . mobile } ) {
134- font-size: 1.5rem ;
134+ font-size: 1.4rem ;
135135 }
136136` ;
137137
You can’t perform that action at this time.
0 commit comments