mirror of
https://github.com/stackblitz/bolt.new
synced 2024-11-27 22:42:21 +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}
|
disabled={input.length === 0 || enhancingPrompt}
|
||||||
className={classNames({
|
className={classNames({
|
||||||
'opacity-100!': enhancingPrompt,
|
'opacity-100!': enhancingPrompt,
|
||||||
'text-accent! pr-1.5': promptEnhanced,
|
'text-accent! pr-1.5 enabled:hover:bg-accent/12!': promptEnhanced,
|
||||||
})}
|
})}
|
||||||
onClick={() => enhancePrompt?.()}
|
onClick={() => enhancePrompt?.()}
|
||||||
>
|
>
|
||||||
|
@ -38,7 +38,7 @@ export const IconButton = memo(
|
|||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
className={classNames(
|
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,
|
[classNames('opacity-30', disabledClassName)]: disabled,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user