Skip to content

Commit

Permalink
web: get rid of blue box around tilt cloud status (#3548)
Browse files Browse the repository at this point in the history
  • Loading branch information
landism committed Jul 9, 2020
1 parent 67d142f commit 0fb96ab
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
1 change: 1 addition & 0 deletions web/package.json
Expand Up @@ -26,6 +26,7 @@
"react-dom": "^16.9.0",
"react-helmet": "^5.2.0",
"react-modal": "^3.10.1",
"react-outline-manager": "^1.2.2",
"react-router-dom": "^5.1.0",
"react-scripts": "3.4.1",
"react-select": "^2.4.2",
Expand Down
15 changes: 9 additions & 6 deletions web/src/SidebarAccount.tsx
Expand Up @@ -13,6 +13,7 @@ import { ReactComponent as AccountIcon } from "./assets/svg/account.svg"
import { ReactComponent as TiltCloudLogoSvg } from "./assets/svg/logo-Tilt-Cloud.svg"
import ButtonLink from "./ButtonLink"
import ButtonInput from "./ButtonInput"
import ReactOutlineManager from "react-outline-manager"

export const SidebarAccountRoot = styled.div`
position: relative; // Anchor SidebarAccountMenu
Expand Down Expand Up @@ -259,12 +260,14 @@ function SidebarAccount(props: SidebarAccountProps) {
return (
<SidebarAccountRoot>
<SidebarAccountHeader>
<SidebarAccountButton
onClick={() => toggleAccountMenu(!accountMenuIsVisible)}
>
<SidebarAccountLabel>Your Tilt Cloud status</SidebarAccountLabel>
<SidebarAccountIcon />
</SidebarAccountButton>
<ReactOutlineManager>
<SidebarAccountButton
onClick={() => toggleAccountMenu(!accountMenuIsVisible)}
>
<SidebarAccountLabel>Your Tilt Cloud status</SidebarAccountLabel>
<SidebarAccountIcon />
</SidebarAccountButton>
</ReactOutlineManager>
</SidebarAccountHeader>
<SidebarAccountMenu className={accountMenuIsVisible ? "is-visible" : ""}>
<SidebarAccountMenuHeader>
Expand Down
5 changes: 5 additions & 0 deletions web/yarn.lock
Expand Up @@ -11373,6 +11373,11 @@ react-modal@^3.10.1:
react-lifecycles-compat "^3.0.0"
warning "^4.0.3"

react-outline-manager@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/react-outline-manager/-/react-outline-manager-1.2.2.tgz#beeceb89cf6840f63e79a68bb2f3a4cc26bdd621"
integrity sha512-xgoyqIDE88odLISa6uPsh+OftbFYRGZzzP4Ub8kiDJJqn5HfFuJhRdX40IMIzD0GC9WrhxuEzD6w5eTchGjYCg==

react-popper-tooltip@^2.8.3:
version "2.11.1"
resolved "https://registry.yarnpkg.com/react-popper-tooltip/-/react-popper-tooltip-2.11.1.tgz#3c4bdfd8bc10d1c2b9a162e859bab8958f5b2644"
Expand Down

0 comments on commit 0fb96ab

Please sign in to comment.