mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	Merge pull request #2143 from yorunning/fix2
fix: alignment of mobile settings page title.
This commit is contained in:
		@@ -218,7 +218,7 @@
 | 
				
			|||||||
  overscroll-behavior: none;
 | 
					  overscroll-behavior: none;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.chat-body-title {
 | 
					.chat-body-main-title {
 | 
				
			||||||
  cursor: pointer;
 | 
					  cursor: pointer;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  &:hover {
 | 
					  &:hover {
 | 
				
			||||||
@@ -226,6 +226,12 @@
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@media only screen and (max-width: 600px) {
 | 
				
			||||||
 | 
					  .chat-body-title {
 | 
				
			||||||
 | 
					    text-align: center;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.chat-message {
 | 
					.chat-message {
 | 
				
			||||||
  display: flex;
 | 
					  display: flex;
 | 
				
			||||||
  flex-direction: row;
 | 
					  flex-direction: row;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -808,9 +808,9 @@ export function Chat() {
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        )}
 | 
					        )}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div className="window-header-title">
 | 
					        <div className={`window-header-title ${styles["chat-body-title"]}`}>
 | 
				
			||||||
          <div
 | 
					          <div
 | 
				
			||||||
            className={`window-header-main-title " ${styles["chat-body-title"]}`}
 | 
					            className={`window-header-main-title ${styles["chat-body-main-title"]}`}
 | 
				
			||||||
            onClickCapture={renameSession}
 | 
					            onClickCapture={renameSession}
 | 
				
			||||||
          >
 | 
					          >
 | 
				
			||||||
            {!session.topic ? DEFAULT_TOPIC : session.topic}
 | 
					            {!session.topic ? DEFAULT_TOPIC : session.topic}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -207,7 +207,7 @@
 | 
				
			|||||||
.select-with-icon {
 | 
					.select-with-icon {
 | 
				
			||||||
  position: relative;
 | 
					  position: relative;
 | 
				
			||||||
  max-width: fit-content;
 | 
					  max-width: fit-content;
 | 
				
			||||||
  
 | 
					
 | 
				
			||||||
  .select-with-icon-select {
 | 
					  .select-with-icon-select {
 | 
				
			||||||
    height: 100%;
 | 
					    height: 100%;
 | 
				
			||||||
    border: var(--border-in-light);
 | 
					    border: var(--border-in-light);
 | 
				
			||||||
@@ -227,4 +227,4 @@
 | 
				
			|||||||
    transform: translateY(-50%);
 | 
					    transform: translateY(-50%);
 | 
				
			||||||
    pointer-events: none;
 | 
					    pointer-events: none;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -25,10 +25,6 @@
 | 
				
			|||||||
  .window-header-sub-title {
 | 
					  .window-header-sub-title {
 | 
				
			||||||
    font-size: 14px;
 | 
					    font-size: 14px;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					 | 
				
			||||||
  @media screen and (max-width: 600px) {
 | 
					 | 
				
			||||||
    text-align: center;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.window-actions {
 | 
					.window-actions {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user