Skip to content

Commit 312da68

Browse files
committed
Merge branch 'dev'
2 parents 12e91f4 + 4e38fb9 commit 312da68

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

pages/static/style.css

+32-1
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,35 @@ span[data-testid="stHeaderActionElements"] a {
9191
text-overflow: ellipsis;
9292
display: inline-block; /* Use inline-block to allow the bullet and link in one line */
9393
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+
}

0 commit comments

Comments
 (0)