diff --git a/app/components/chat.tsx b/app/components/chat.tsx
index d25deec8d..33ac3ac57 100644
--- a/app/components/chat.tsx
+++ b/app/components/chat.tsx
@@ -593,17 +593,19 @@ export function Chat(props: {
}}
/>
-
- : }
- bordered
- onClick={() => {
- chatStore.updateConfig(
- (config) => (config.tightBorder = !config.tightBorder),
- );
- }}
- />
-
+ {!isMobileScreen() && (
+
+ : }
+ bordered
+ onClick={() => {
+ chatStore.updateConfig(
+ (config) => (config.tightBorder = !config.tightBorder),
+ );
+ }}
+ />
+
+ )}
{
+ if (isMobileScreen()) {
+ return;
+ }
+
document.documentElement.style.setProperty(
"--sidebar-width",
`${limit(chatStore.config.sidebarWidth ?? 300)}px`,