File tree Expand file tree Collapse file tree 5 files changed +8
-10
lines changed
Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ export function AppSidebar({ user }: { user: User | undefined }) {
8080 < Tooltip >
8181 < TooltipTrigger asChild >
8282 < Button
83- className = "h-8 p-1 md:h-fit md:p-2"
8483 onClick = { ( ) => setShowDeleteAllDialog ( true ) }
84+ size = "icon-sm"
8585 type = "button"
8686 variant = "ghost"
8787 >
@@ -96,12 +96,12 @@ export function AppSidebar({ user }: { user: User | undefined }) {
9696 < Tooltip >
9797 < TooltipTrigger asChild >
9898 < Button
99- className = "h-8 p-1 md:h-fit md:p-2"
10099 onClick = { ( ) => {
101100 setOpenMobile ( false ) ;
102101 router . push ( "/" ) ;
103102 router . refresh ( ) ;
104103 } }
104+ size = "icon-sm"
105105 type = "button"
106106 variant = "ghost"
107107 >
Original file line number Diff line number Diff line change @@ -30,11 +30,12 @@ function PureChatHeader({
3030
3131 { ( ! open || windowWidth < 768 ) && (
3232 < Button
33- className = "order-2 ml-auto h-8 px-2 md:order-1 md:ml-0 md:h-fit md:px-2 "
33+ className = "order-2 ml-auto md:order-1 md:ml-0"
3434 onClick = { ( ) => {
3535 router . push ( "/" ) ;
3636 router . refresh ( ) ;
3737 } }
38+ size = "icon-sm"
3839 variant = "outline"
3940 >
4041 < PlusIcon />
Original file line number Diff line number Diff line change @@ -342,6 +342,7 @@ function PureMultimodalInput({
342342 </ div >
343343 ) }
344344 < PromptInputTextarea
345+ className = "p-6 min-h-24"
345346 data-testid = "multimodal-input"
346347 onChange = { handleInput }
347348 placeholder = "Send a message..."
Original file line number Diff line number Diff line change 66 TooltipContent ,
77 TooltipTrigger ,
88} from "@/components/ui/tooltip" ;
9- import { cn } from "@/lib/utils" ;
109import { SidebarLeftIcon } from "./icons" ;
1110import { Button } from "./ui/button" ;
1211
@@ -19,9 +18,10 @@ export function SidebarToggle({
1918 < Tooltip >
2019 < TooltipTrigger asChild >
2120 < Button
22- className = { cn ( "h-8 px-2 md:h-fit md:px-2" , className ) }
21+ className = { className }
2322 data-testid = "sidebar-toggle-button"
2423 onClick = { toggleSidebar }
24+ size = "icon-sm"
2525 variant = "outline"
2626 >
2727 < SidebarLeftIcon size = { 16 } />
Original file line number Diff line number Diff line change @@ -68,11 +68,7 @@ export function VisibilitySelector({
6868 className
6969 ) }
7070 >
71- < Button
72- className = "hidden h-8 md:flex md:h-fit md:px-2"
73- data-testid = "visibility-selector"
74- variant = "outline"
75- >
71+ < Button data-testid = "visibility-selector" size = "sm" variant = "outline" >
7672 { selectedVisibility ?. icon }
7773 < span className = "md:sr-only" > { selectedVisibility ?. label } </ span >
7874 < ChevronDownIcon />
You can’t perform that action at this time.
0 commit comments