mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	Merge pull request #1781 from yanCode/fix/css-top-actions
fix: [CSS] the position of top-action buttons
This commit is contained in:
		@@ -369,7 +369,7 @@
 | 
				
			|||||||
  &:hover {
 | 
					  &:hover {
 | 
				
			||||||
    .chat-message-top-actions {
 | 
					    .chat-message-top-actions {
 | 
				
			||||||
      opacity: 1;
 | 
					      opacity: 1;
 | 
				
			||||||
      right: 10px;
 | 
					      transform: translateX(10px);
 | 
				
			||||||
      pointer-events: all;
 | 
					      pointer-events: all;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
@@ -405,11 +405,12 @@
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.chat-message-top-actions {
 | 
					.chat-message-top-actions {
 | 
				
			||||||
 | 
					  min-width: 120px;
 | 
				
			||||||
  font-size: 12px;
 | 
					  font-size: 12px;
 | 
				
			||||||
  position: absolute;
 | 
					  position: absolute;
 | 
				
			||||||
  right: 20px;
 | 
					  right: 20px;
 | 
				
			||||||
  top: -26px;
 | 
					  top: -26px;
 | 
				
			||||||
  left: 100px;
 | 
					  left: 30px;
 | 
				
			||||||
  transition: all ease 0.3s;
 | 
					  transition: all ease 0.3s;
 | 
				
			||||||
  opacity: 0;
 | 
					  opacity: 0;
 | 
				
			||||||
  pointer-events: none;
 | 
					  pointer-events: none;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user