File tree 1 file changed +32
-1
lines changed
1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -91,4 +91,35 @@ span[data-testid="stHeaderActionElements"] a {
91
91
text-overflow : ellipsis;
92
92
display : inline-block; /* Use inline-block to allow the bullet and link in one line */
93
93
margin-bottom : 10px ; /* Space between items (line break) */
94
- }
94
+ }
95
+
96
+ .stChatMessage {
97
+ hyphens : auto; /* Allow hyphenation */
98
+ }
99
+
100
+
101
+ /* Adjust the width of the chat message (on mobile view) */
102
+ @media (max-width : 600px ) {
103
+ .stMainBlockContainer {
104
+ max-width : inherit !important ;
105
+
106
+ }
107
+ }
108
+
109
+ /* Adjust the width of the chat message (on mobile view) */
110
+ @media (max-width : 600px ) {
111
+ .stChatMessage {
112
+ max-width : 100% !important ; /* Set the max-width to 95% */
113
+ width : 100% !important ; /* Set the width to 95% */
114
+ margin-left : auto; /* Center the chat message */
115
+ margin-right : auto; /* Center the chat message */
116
+ }
117
+ }
118
+
119
+ /* Fix the position of the input */
120
+ .stChatInput {
121
+ position : fixed;
122
+ bottom : 30px ; /* Distance from the bottom */
123
+ z-index : 1000 ; /* Ensure it stays on top of other elements */
124
+
125
+ }
You can’t perform that action at this time.
0 commit comments