diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-16 15:17:36 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-16 15:17:36 -0700 |
commit | a1c32513082b7d94414a21827f200224dc3ff846 (patch) | |
tree | 230dfb2a033a5eae3b34fa4d5b1c5ca74fef8902 /extension/react-app/src | |
parent | 2c1e77563097e8c245f28c461c4aca68a8a35cd8 (diff) | |
download | sncontinue-a1c32513082b7d94414a21827f200224dc3ff846.tar.gz sncontinue-a1c32513082b7d94414a21827f200224dc3ff846.tar.bz2 sncontinue-a1c32513082b7d94414a21827f200224dc3ff846.zip |
fixes
Diffstat (limited to 'extension/react-app/src')
-rw-r--r-- | extension/react-app/src/components/HeaderButtonWithText.tsx | 6 | ||||
-rw-r--r-- | extension/react-app/src/components/index.ts | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/extension/react-app/src/components/HeaderButtonWithText.tsx b/extension/react-app/src/components/HeaderButtonWithText.tsx index d70a3d70..c4f22211 100644 --- a/extension/react-app/src/components/HeaderButtonWithText.tsx +++ b/extension/react-app/src/components/HeaderButtonWithText.tsx @@ -14,7 +14,11 @@ const HeaderButtonWithText = (props: HeaderButtonWithTextProps) => { <HeaderButton style={{ padding: "3px" }} onMouseEnter={() => setHover(true)} - onMouseLeave={() => setHover(false)} + onMouseLeave={() => { + setTimeout(() => { + setHover(false); + }, 100); + }} onClick={props.onClick} > <span hidden={!hover}>{props.text}</span> diff --git a/extension/react-app/src/components/index.ts b/extension/react-app/src/components/index.ts index 525989af..d99b4d96 100644 --- a/extension/react-app/src/components/index.ts +++ b/extension/react-app/src/components/index.ts @@ -48,7 +48,7 @@ export const Pre = styled.pre` max-height: 150px; overflow-y: scroll; margin: 0; - background-color: ${secondaryDark}; + background-color: ${vscBackground}; border: none; /* text wrapping */ |