diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-06 12:39:17 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-06 12:39:17 -0700 |
commit | 7207da47c790aab81f59e777b9d02769b46fb7f4 (patch) | |
tree | 85873f54f238cd9d9be7f64f51484c52a22ef9e1 /extension/react-app/src/components/ComboBox.tsx | |
parent | 1e00942edec9c9aa4c69f2a8be7e43f06df684df (diff) | |
download | sncontinue-7207da47c790aab81f59e777b9d02769b46fb7f4.tar.gz sncontinue-7207da47c790aab81f59e777b9d02769b46fb7f4.tar.bz2 sncontinue-7207da47c790aab81f59e777b9d02769b46fb7f4.zip |
details
Diffstat (limited to 'extension/react-app/src/components/ComboBox.tsx')
-rw-r--r-- | extension/react-app/src/components/ComboBox.tsx | 10 |
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} |