diff --git a/site/src/components/Navbar/NavbarView.tsx b/site/src/components/Navbar/NavbarView.tsx index 176a9ae446aad..8167590fbac05 100644 --- a/site/src/components/Navbar/NavbarView.tsx +++ b/site/src/components/Navbar/NavbarView.tsx @@ -23,6 +23,7 @@ import Divider from "@mui/material/Divider" import HelpOutline from "@mui/icons-material/HelpOutline" import Tooltip from "@mui/material/Tooltip" import Skeleton from "@mui/material/Skeleton" +import { BUTTON_SM_HEIGHT } from "theme/theme" export const USERS_LINK = `/users?filter=${encodeURIComponent("status:active")}` @@ -195,7 +196,7 @@ const ProxyMenu: FC<{ proxyContextValue: ProxyContextValue }> = ({ return ( ) diff --git a/site/src/components/UserDropdown/UsersDropdown.tsx b/site/src/components/UserDropdown/UsersDropdown.tsx index 32582b6fd08b2..1e77e5ad6bf3d 100644 --- a/site/src/components/UserDropdown/UsersDropdown.tsx +++ b/site/src/components/UserDropdown/UsersDropdown.tsx @@ -9,6 +9,7 @@ import { BorderedMenu } from "../BorderedMenu/BorderedMenu" import { CloseDropdown, OpenDropdown } from "../DropdownArrows/DropdownArrows" import { UserAvatar } from "../UserAvatar/UserAvatar" import { UserDropdownContent } from "../UserDropdownContent/UserDropdownContent" +import { BUTTON_SM_HEIGHT } from "theme/theme" export interface UserDropdownProps { user: TypesGen.User @@ -42,7 +43,15 @@ export const UserDropdown: FC> = ({ >
- + {anchorEl ? ( diff --git a/site/src/components/WorkspaceActions/WorkspaceActions.tsx b/site/src/components/WorkspaceActions/WorkspaceActions.tsx index a842426871a23..194b3a6d94314 100644 --- a/site/src/components/WorkspaceActions/WorkspaceActions.tsx +++ b/site/src/components/WorkspaceActions/WorkspaceActions.tsx @@ -102,10 +102,7 @@ export const WorkspaceActions: FC = ({ ? buttonMapping[ButtonTypesEnum.updating] : buttonMapping[ButtonTypesEnum.update])} {isRestarting && buttonMapping[ButtonTypesEnum.restarting]} - {!isRestarting && - actionsByStatus.map((action) => ( - {buttonMapping[action]} - ))} + {!isRestarting && actionsByStatus.map((action) => buttonMapping[action])} {canCancel && }
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy