mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	Merge pull request #127 from stonega/main
fix: message top action style issue
This commit is contained in:
		@@ -292,6 +292,7 @@
 | 
			
		||||
  position: absolute;
 | 
			
		||||
  right: 20px;
 | 
			
		||||
  top: -26px;
 | 
			
		||||
  left: 100px;
 | 
			
		||||
  transition: all ease 0.3s;
 | 
			
		||||
  opacity: 0;
 | 
			
		||||
  pointer-events: none;
 | 
			
		||||
@@ -302,6 +303,7 @@
 | 
			
		||||
  .chat-message-top-action {
 | 
			
		||||
    opacity: 0.5;
 | 
			
		||||
    color: var(--black);
 | 
			
		||||
    white-space: nowrap;
 | 
			
		||||
    cursor: pointer;
 | 
			
		||||
 | 
			
		||||
    &:hover {
 | 
			
		||||
 
 | 
			
		||||
@@ -374,7 +374,7 @@ export function Chat(props: { showSideBar?: () => void }) {
 | 
			
		||||
                  </div>
 | 
			
		||||
                )}
 | 
			
		||||
                <div className={styles["chat-message-item"]}>
 | 
			
		||||
                  {!isUser && (
 | 
			
		||||
                  {(!isUser && !(message.preview || message.content.length === 0)) && (
 | 
			
		||||
                    <div className={styles["chat-message-top-actions"]}>
 | 
			
		||||
                      {message.streaming ? (
 | 
			
		||||
                        <div
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user