summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-24 23:12:49 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-24 23:12:49 -0700
commitc0799a92d3588cefa7c88a18452811d0153c685b (patch)
tree12362e955c99d27fe44daad7481524a4dce1a2d6 /extension/react-app/src/components
parenta993b2ff472b9999ce287c2eccefd9371204f3c2 (diff)
downloadsncontinue-c0799a92d3588cefa7c88a18452811d0153c685b.tar.gz
sncontinue-c0799a92d3588cefa7c88a18452811d0153c685b.tar.bz2
sncontinue-c0799a92d3588cefa7c88a18452811d0153c685b.zip
tweaks
Diffstat (limited to 'extension/react-app/src/components')
-rw-r--r--extension/react-app/src/components/ComboBox.tsx2
-rw-r--r--extension/react-app/src/components/ContinueButton.tsx3
-rw-r--r--extension/react-app/src/components/PillButton.tsx2
3 files changed, 4 insertions, 3 deletions
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx
index 7d266c6e..4a1cdbc0 100644
--- a/extension/react-app/src/components/ComboBox.tsx
+++ b/extension/react-app/src/components/ComboBox.tsx
@@ -291,7 +291,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
<div className="flex px-2" ref={divRef} hidden={!downshiftProps.isOpen}>
<MainTextInput
disabled={props.disabled}
- placeholder={`Ask a question, give instructions, or type '/' to see slash commands`}
+ placeholder={`Ask a question, give instructions, type '/' for slash commands, or '@' to add context`}
{...getInputProps({
onChange: (e) => {
const target = e.target as HTMLTextAreaElement;
diff --git a/extension/react-app/src/components/ContinueButton.tsx b/extension/react-app/src/components/ContinueButton.tsx
index eda9bcff..6d753988 100644
--- a/extension/react-app/src/components/ContinueButton.tsx
+++ b/extension/react-app/src/components/ContinueButton.tsx
@@ -26,7 +26,8 @@ function ContinueButton(props: { onClick?: () => void; hidden?: boolean }) {
return (
<StyledButton
hidden={props.hidden}
- className="m-auto press-start-2p text-xs"
+ style={{ fontSize: "10px" }}
+ className="m-auto press-start-2p"
onClick={props.onClick}
>
{vscMediaUrl ? (
diff --git a/extension/react-app/src/components/PillButton.tsx b/extension/react-app/src/components/PillButton.tsx
index 660ede09..548fdf9d 100644
--- a/extension/react-app/src/components/PillButton.tsx
+++ b/extension/react-app/src/components/PillButton.tsx
@@ -100,7 +100,7 @@ const PillButton = (props: PillButtonProps) => {
<pre>
<code
style={{
- fontSize: "10px",
+ fontSize: "11px",
backgroundColor: vscBackground,
color: vscForeground,
whiteSpace: "pre-wrap",