mirror of https://github.com/buster-so/buster.git
seperator sizing
This commit is contained in:
parent
b19936e3b3
commit
3221123d63
|
@ -114,7 +114,7 @@ export const BusterChatInputButtons = React.memo(
|
|||
>
|
||||
<Button
|
||||
rounding={'large'}
|
||||
variant={'default'}
|
||||
variant={'black'}
|
||||
size={'tall'}
|
||||
prefix={<ArrowUp />}
|
||||
onClick={
|
||||
|
@ -132,7 +132,7 @@ export const BusterChatInputButtons = React.memo(
|
|||
loading={submitting}
|
||||
disabled={disabled || disableSubmit}
|
||||
className={cn(
|
||||
'origin-center transform-gpu transition-all duration-300 ease-out will-change-transform bg-transparent!',
|
||||
'origin-center transform-gpu transition-all duration-300 ease-out will-change-transform',
|
||||
!disabled && 'hover:scale-110 active:scale-95'
|
||||
)}
|
||||
/>
|
||||
|
@ -199,7 +199,7 @@ const modesOptions: AppSegmentedProps<BusterChatInputMode>['options'] = [
|
|||
description="Decides how long to think"
|
||||
icon={<Sparkle2 />}
|
||||
iconText="Auto Mode"
|
||||
content={`Dynamically pick between “Research” and “Deep Research”`}
|
||||
content={`Dynamically picks between Research and Deep Research modes`}
|
||||
>
|
||||
<Sparkle2 />
|
||||
</ModePopoverContent>
|
||||
|
|
|
@ -7,7 +7,8 @@ import { CircleSpinnerLoader } from '../loaders/CircleSpinnerLoader';
|
|||
export const buttonTypeClasses = {
|
||||
default:
|
||||
'bg-background border hover:bg-item-hover disabled:bg-disabled disabled:text-gray-light active:bg-item-active data-[selected=true]:bg-item-select',
|
||||
black: 'bg-black text-white hover:bg-foreground-hover disabled:bg-black/60',
|
||||
black:
|
||||
'bg-black text-white hover:bg-foreground-hover disabled:bg-background disabled:text-gray-light disabled:ring-[0.5px] ring-border ',
|
||||
outlined:
|
||||
'bg-transparent border border-border text-gray-dark hover:bg-item-hover disabled:bg-transparent disabled:text-gray-light active:bg-item-active data-[selected=true]:bg-item-select',
|
||||
primary:
|
||||
|
@ -111,7 +112,7 @@ export const buttonIconVariants = cva('', {
|
|||
{
|
||||
variant: 'black',
|
||||
disabled: true,
|
||||
className: 'text-white',
|
||||
className: 'text-gray-light',
|
||||
},
|
||||
{
|
||||
variant: 'outlined',
|
||||
|
|
|
@ -27,7 +27,7 @@ export const MentionInputSuggestionsGroup = ({
|
|||
return (
|
||||
<Command.Group
|
||||
className={cn(
|
||||
'text-text-tertiary overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-2.5 [&_[cmdk-group-heading]]:text-sm [&_[cmdk-group-heading]]:font-base [&_[cmdk-group-heading]]:h-8',
|
||||
'text-text-tertiary overflow-hidden [&_[cmdk-group-heading]]:px-0 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-sm [&_[cmdk-group-heading]]:font-base [&_[cmdk-group-heading]]:h-8',
|
||||
className
|
||||
)}
|
||||
style={style}
|
||||
|
|
|
@ -15,7 +15,7 @@ export const MentionInputSuggestionsSeparator = ({
|
|||
// biome-ignore lint/a11y/useAriaPropsForRole: blitz bama blitz
|
||||
role="separator"
|
||||
className={cn(
|
||||
'bg-border -mx-1 h-px my-1.5',
|
||||
'bg-border my-1.5 h-[0.5px]',
|
||||
// Hide if first child
|
||||
'first:hidden',
|
||||
// Hide if last child
|
||||
|
|
Loading…
Reference in New Issue