summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/PillButton.tsx
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-08-11 23:45:57 -0700
committerNate Sesti <sestinj@gmail.com>2023-08-11 23:45:57 -0700
commite1325c0153becb95b454810d9461efd7d3624a6a (patch)
treef00149d93cf082db2dbaf1d1f24ee0f5114ff615 /extension/react-app/src/components/PillButton.tsx
parent88599cfa69e51906d4eea807cfc920515bf50426 (diff)
downloadsncontinue-e1325c0153becb95b454810d9461efd7d3624a6a.tar.gz
sncontinue-e1325c0153becb95b454810d9461efd7d3624a6a.tar.bz2
sncontinue-e1325c0153becb95b454810d9461efd7d3624a6a.zip
fix: :bug: a handful of bug fixes
keyboard interactions in textarea, multiple file highlighting, zombie process
Diffstat (limited to 'extension/react-app/src/components/PillButton.tsx')
-rw-r--r--extension/react-app/src/components/PillButton.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/extension/react-app/src/components/PillButton.tsx b/extension/react-app/src/components/PillButton.tsx
index 0dcd43eb..1ffdeeed 100644
--- a/extension/react-app/src/components/PillButton.tsx
+++ b/extension/react-app/src/components/PillButton.tsx
@@ -106,7 +106,7 @@ const StyledButton = styled(Button)<StyledButtonProps>`
&:focus {
outline: none;
- border-color: red;
+ border-color: ${vscForeground};
border-width: 1px;
border-style: solid;
}
@@ -185,13 +185,13 @@ const PillButton = (props: PillButtonProps) => {
<GridDiv
style={{
gridTemplateColumns:
- props.item.editable && props.addingHighlightedCode
+ props.item.editable && props.areMultipleItems
? "1fr 1fr"
: "1fr",
backgroundColor: vscBackground,
}}
>
- {props.item.editable && props.addingHighlightedCode && (
+ {props.item.editable && props.areMultipleItems && (
<ButtonDiv
data-tooltip-id={`edit-${props.index}`}
backgroundColor={"#8800aa55"}