mirror of https://github.com/buster-so/buster.git
Remove bouncer
This commit is contained in:
parent
cb4438a6c8
commit
635c5f668a
|
@ -10,7 +10,7 @@ interface EditorContainerProps {
|
||||||
}
|
}
|
||||||
|
|
||||||
const editorContainerVariants = cva(
|
const editorContainerVariants = cva(
|
||||||
'relative w-full cursor-text bg-transparent caret-primary select-text selection:bg-brand/15 focus-visible:outline-none [&_.slate-selection-area]:z-50 [&_.slate-selection-area]:border [&_.slate-selection-area]:border-brand/25 [&_.slate-selection-area]:bg-brand/15',
|
'relative w-full cursor-text bg-transparent caret-primary select-text selection:bg-brand/12 focus-visible:outline-none [&_.slate-selection-area]:z-50 [&_.slate-selection-area]:border [&_.slate-selection-area]:border-brand/25 [&_.slate-selection-area]:bg-brand/15',
|
||||||
|
|
||||||
{
|
{
|
||||||
variants: {
|
variants: {
|
||||||
|
|
|
@ -48,7 +48,7 @@ export const useReportEditor = ({
|
||||||
|
|
||||||
const editor = usePlateEditor({
|
const editor = usePlateEditor({
|
||||||
plugins,
|
plugins,
|
||||||
value: [],
|
value,
|
||||||
readOnly: disabled || isStreaming
|
readOnly: disabled || isStreaming
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -52,12 +52,6 @@ export const ReportPageController: React.FC<{
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={cn('h-full space-y-1.5 overflow-y-auto pt-9', className)}>
|
<div className={cn('h-full space-y-1.5 overflow-y-auto pt-9', className)}>
|
||||||
<div
|
|
||||||
className={cn(
|
|
||||||
'absolute right-5 bottom-5 h-15 w-15 animate-bounce rounded-full',
|
|
||||||
isStreamingMessage ? 'bg-purple-400' : 'bg-green-400'
|
|
||||||
)}
|
|
||||||
/>
|
|
||||||
{report ? (
|
{report ? (
|
||||||
<>
|
<>
|
||||||
<ReportPageHeader
|
<ReportPageHeader
|
||||||
|
|
Loading…
Reference in New Issue