style(Input/OpenAIOptions): comment out unused code and add gray color to settings icon

This commit is contained in:
Daniel Avila 2023-03-31 21:48:27 -04:00
parent 9098362377
commit 467e24c9ed
2 changed files with 7 additions and 7 deletions

View file

@ -11,18 +11,18 @@ const types = {
}; };
function OptionHover({ type, side }) { function OptionHover({ type, side }) {
const options = {};
if (type === 'pres') { // const options = {};
options.sideOffset = 45; // if (type === 'pres') {
} // options.sideOffset = 45;
// }
return ( return (
<HoverCardPortal> <HoverCardPortal>
<HoverCardContent <HoverCardContent
side={side} side={side}
className="w-52 " className="w-52 "
{...options} // {...options}
> >
<div className="space-y-2"> <div className="space-y-2">
<p className="text-sm text-gray-600 dark:text-gray-300">{types[type]}</p> <p className="text-sm text-gray-600 dark:text-gray-300">{types[type]}</p>

View file

@ -82,7 +82,7 @@ function OpenAIOptions() {
)} )}
onClick={triggerAdvancedMode} onClick={triggerAdvancedMode}
> >
<Settings2 className="w-4" /> <Settings2 className="w-4 text-gray-600" />
</Button> </Button>
</div> </div>
<div <div