summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/ComboBox.tsx
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-06 12:39:17 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-06 12:39:17 -0700
commita6935256795ccb63d8cbd4e0677d117efd4c6d9d (patch)
tree308c31354a094bcda4e14c9e304c7c1b2116ebfb /extension/react-app/src/components/ComboBox.tsx
parent28e4da39c1f7056b99dca89e6959a11b86202886 (diff)
downloadsncontinue-a6935256795ccb63d8cbd4e0677d117efd4c6d9d.tar.gz
sncontinue-a6935256795ccb63d8cbd4e0677d117efd4c6d9d.tar.bz2
sncontinue-a6935256795ccb63d8cbd4e0677d117efd4c6d9d.zip
details
Diffstat (limited to 'extension/react-app/src/components/ComboBox.tsx')
-rw-r--r--extension/react-app/src/components/ComboBox.tsx10
1 files changed, 4 insertions, 6 deletions
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx
index af673b42..b825dc2a 100644
--- a/extension/react-app/src/components/ComboBox.tsx
+++ b/extension/react-app/src/components/ComboBox.tsx
@@ -22,7 +22,7 @@ import {
import { HighlightedRangeContext } from "../../../schema/FullState";
// #region styled components
-const mainInputFontSize = 16;
+const mainInputFontSize = 13;
const EmptyPillDiv = styled.div`
padding: 8px;
@@ -64,7 +64,6 @@ const MainTextInput = styled.textarea`
padding: 8px;
font-size: ${mainInputFontSize}px;
font-family: inherit;
- border: 1px solid transparent;
border-radius: ${defaultBorderRadius};
margin: 8px auto;
height: auto;
@@ -74,8 +73,7 @@ const MainTextInput = styled.textarea`
z-index: 1;
&:focus {
- outline: 1px solid #ff000066;
- border: 1px solid transparent;
+ outline: 1px solid ${lightGray};
}
`;
@@ -191,7 +189,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
return (
<>
<div className="px-2 flex gap-2 items-center flex-wrap mt-2">
- {highlightedCodeSections.length > 1 && (
+ {/* {highlightedCodeSections.length > 1 && (
<>
<HeaderButtonWithText
text="Clear Context"
@@ -204,7 +202,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
<Trash size="1.6em" />
</HeaderButtonWithText>
</>
- )}
+ )} */}
{highlightedCodeSections.map((section, idx) => (
<PillButton
editing={section.editing}