mirror of
				https://github.com/stackblitz-labs/bolt.diy
				synced 2025-06-26 18:26:38 +00:00 
			
		
		
		
	fix: buttons after switching to tailwind-compat reset
This commit is contained in:
		
							parent
							
								
									2c1f32c143
								
							
						
					
					
						commit
						5fa2ee53cc
					
				@ -106,7 +106,7 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
 | 
			
		||||
                    disabled={input.length === 0 || enhancingPrompt}
 | 
			
		||||
                    className={classNames({
 | 
			
		||||
                      'opacity-100!': enhancingPrompt,
 | 
			
		||||
                      'text-accent! pr-1.5': promptEnhanced,
 | 
			
		||||
                      'text-accent! pr-1.5 enabled:hover:bg-accent/12!': promptEnhanced,
 | 
			
		||||
                    })}
 | 
			
		||||
                    onClick={() => enhancePrompt?.()}
 | 
			
		||||
                  >
 | 
			
		||||
 | 
			
		||||
@ -38,7 +38,7 @@ export const IconButton = memo(
 | 
			
		||||
    return (
 | 
			
		||||
      <button
 | 
			
		||||
        className={classNames(
 | 
			
		||||
          'flex items-center text-gray-600 enabled:hover:text-gray-900 rounded-md p-1 enabled:hover:bg-gray-200/80 disabled:cursor-not-allowed',
 | 
			
		||||
          'flex items-center text-gray-600 bg-transparent enabled:hover:text-gray-900 rounded-md p-1 enabled:hover:bg-gray-200/80 disabled:cursor-not-allowed',
 | 
			
		||||
          {
 | 
			
		||||
            [classNames('opacity-30', disabledClassName)]: disabled,
 | 
			
		||||
          },
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user