File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
apps/webapp/app/components/navigation Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,18 @@ export function HelpAndFeedback({
4949 } ) ;
5050
5151 return (
52- < motion . div layout = "position" transition = { { duration : 0.2 , ease : "easeInOut" } } >
52+ < motion . div
53+ layout = "position"
54+ transition = { { duration : 0.2 , ease : "easeInOut" } }
55+ className = { isCollapsed ? undefined : "flex-1" }
56+ >
5357 < Popover open = { isHelpMenuOpen } onOpenChange = { setHelpMenuOpen } >
5458 < SimpleTooltip
5559 button = {
5660 < PopoverTrigger
5761 className = { cn (
5862 "group flex h-8 items-center gap-1.5 rounded pl-[0.4375rem] pr-2 transition-colors hover:bg-charcoal-750" ,
59- isCollapsed ? "w-full" : "flex-1 justify-between"
63+ isCollapsed ? "w-full" : "w-full justify-between"
6064 ) }
6165 >
6266 < span className = "flex items-center gap-1.5 overflow-hidden" >
@@ -89,7 +93,7 @@ export function HelpAndFeedback({
8993 side = "right"
9094 sideOffset = { 8 }
9195 hidden = { ! isCollapsed }
92- buttonClassName = { isCollapsed ? "!h-8 w-full" : "!h-8 flex-1" }
96+ buttonClassName = "!h-8 w-full"
9397 asChild
9498 disableHoverableContent
9599 />
You can’t perform that action at this time.
0 commit comments