Ver código fonte

优化表格

sunsheng 3 semanas atrás
pai
commit
d7329ef553
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      app/components/chat.module.scss
  2. 1 1
      app/components/chat.tsx

+ 1 - 1
app/components/chat.module.scss

@@ -276,7 +276,7 @@
 }
 
 .chat {
-  max-width: 89vw;
+  max-width: 100vw;
   display: flex;
   flex-direction: column;
   position: relative;

+ 1 - 1
app/components/chat.tsx

@@ -1854,7 +1854,7 @@ function _Chat() {
   }, [messages.length]);
 
   return (
-    <div className={styles.chat} key={session.id}>
+    <div className={styles.chat} style={{maxWidth: globalStore.showMenu ? '89vw' : '100vw'}} key={session.id}>
       {
         <div className="window-header" data-tauri-drag-region>
           <div style={{ display: 'flex', alignItems: 'center' ,justifyContent: 'space-between',width:'auto' }}