diff --git a/apps/studio/components/layouts/AppLayout/AssistantButton.tsx b/apps/studio/components/layouts/AppLayout/AssistantButton.tsx index 8f708884181..a677ab116e7 100644 --- a/apps/studio/components/layouts/AppLayout/AssistantButton.tsx +++ b/apps/studio/components/layouts/AppLayout/AssistantButton.tsx @@ -13,7 +13,7 @@ export const AssistantButton = () => { type="text" size="tiny" id="assistant-trigger" - className="w-[24px] h-[24px] flex items-center justify-center p-0" + className="rounded-none w-[32px] h-[30px] flex items-center justify-center p-0 hover:bg-brand-400" onClick={() => { snap.toggleAssistant() setEditorPanel({ open: false }) diff --git a/apps/studio/components/layouts/AppLayout/InlineEditorButton.tsx b/apps/studio/components/layouts/AppLayout/InlineEditorButton.tsx index fa5ca07c5c3..a88a80a5bdb 100644 --- a/apps/studio/components/layouts/AppLayout/InlineEditorButton.tsx +++ b/apps/studio/components/layouts/AppLayout/InlineEditorButton.tsx @@ -13,7 +13,7 @@ export const InlineEditorButton = () => { type="text" size="tiny" id="editor-trigger" - className="w-[24px] h-[24px] flex items-center justify-center p-0 text-foreground-light hover:text-foreground" + className="rounded-none w-[32px] h-[30px] flex items-center justify-center p-0 text-foreground-light hover:text-foreground" onClick={() => { closeAssistant() setEditorPanel({ open: !editorPanel.open }) @@ -29,7 +29,7 @@ export const InlineEditorButton = () => { }, }} > - + ) } diff --git a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackDropdown.tsx b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackDropdown.tsx index 105a5a59cae..2fcbc4825da 100644 --- a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackDropdown.tsx +++ b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackDropdown.tsx @@ -29,6 +29,7 @@ const FeedbackDropdown = () => { setStage('select') }} type="outline" + className="rounded-full h-[32px] border-border" > Feedback diff --git a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx index 65c7eef80dd..83dc5e81d90 100644 --- a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx +++ b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/HelpPopover.tsx @@ -37,8 +37,14 @@ export const HelpPopover = () => { } + className="rounded-none w-[32px] h-[30px] group" + icon={ + + } tooltip={{ content: { side: 'bottom', text: 'Help' } }} onClick={() => { sendEvent({ diff --git a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/LayoutHeader.tsx b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/LayoutHeader.tsx index 02a5f56ccc4..1ca551f6016 100644 --- a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/LayoutHeader.tsx +++ b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/LayoutHeader.tsx @@ -188,8 +188,19 @@ const LayoutHeader = ({ {IS_PLATFORM ? ( <> - - + +
+ + + + {!!projectRef && ( + <> + + + + )} + +
) : ( @@ -200,25 +211,6 @@ const LayoutHeader = ({ )} - - - {!!projectRef && ( - -
- -
-
- -
-
- )} -
) } diff --git a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopoverV2/NotificationsPopover.tsx b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopoverV2/NotificationsPopover.tsx index 00220250507..8844a3744e9 100644 --- a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopoverV2/NotificationsPopover.tsx +++ b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopoverV2/NotificationsPopover.tsx @@ -105,7 +105,7 @@ export const NotificationsPopoverV2 = () => { }} type={hasNewNotifications ? 'outline' : 'text'} className={cn( - 'h-[26px]', + 'rounded-none h-[30px] w-[32px]', // !hasCritical || !hasWarning || !hasNewNotifications ? 'w-[26px]' : '', 'group', hasNewNotifications ? 'rounded-full px-1.5' : 'px-1', @@ -136,7 +136,7 @@ export const NotificationsPopoverV2 = () => { } /> diff --git a/packages/ui/src/layout/ai-icon-animation/ai-icon-animation.tsx b/packages/ui/src/layout/ai-icon-animation/ai-icon-animation.tsx index eaa77fa4404..31b8dbea248 100644 --- a/packages/ui/src/layout/ai-icon-animation/ai-icon-animation.tsx +++ b/packages/ui/src/layout/ai-icon-animation/ai-icon-animation.tsx @@ -17,7 +17,7 @@ const AiIconAnimationComponent = ({ className, allowHoverEffect = false, }: AiIconAnimationProps) => { - const strokeWidth = Math.max(1, size / 46) // Ensure minimum stroke width of 1 + const strokeWidth = Math.max(1.5, size / 46) // Ensure minimum stroke width of 1 const containerRef = useRef(null) const [isHovering, setIsHovering] = useState(false)