From ca2e0f8e6febec1b7feaec864544ce52e396aecb Mon Sep 17 00:00:00 2001 From: Sean Hatfield <seanhatfield5@gmail.com> Date: Mon, 26 Feb 2024 12:35:52 -0800 Subject: [PATCH] [STYLE] Fix styles of LLMItem, EmbedderItem, and VectorDBItem (#803) update opacity and spacing of LLMItem, EmbedderItem, and VectorDBItem --- .../components/EmbeddingSelection/EmbedderItem/index.jsx | 6 ++---- frontend/src/components/LLMSelection/LLMItem/index.jsx | 6 ++---- .../src/components/VectorDBSelection/VectorDBItem/index.jsx | 4 ++-- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/EmbeddingSelection/EmbedderItem/index.jsx b/frontend/src/components/EmbeddingSelection/EmbedderItem/index.jsx index b37b645f9..e1f164a61 100644 --- a/frontend/src/components/EmbeddingSelection/EmbedderItem/index.jsx +++ b/frontend/src/components/EmbeddingSelection/EmbedderItem/index.jsx @@ -27,11 +27,9 @@ export default function EmbedderItem({ alt={`${name} logo`} className="w-10 h-10 rounded-md" /> - <div className="flex flex-col gap-y-1"> + <div className="flex flex-col"> <div className="text-sm font-semibold">{name}</div> - <div className="mt-2 text-xs text-white tracking-wide"> - {description} - </div> + <div className="mt-1 text-xs text-white/60">{description}</div> </div> </div> </div> diff --git a/frontend/src/components/LLMSelection/LLMItem/index.jsx b/frontend/src/components/LLMSelection/LLMItem/index.jsx index b6db5d130..5e37738c5 100644 --- a/frontend/src/components/LLMSelection/LLMItem/index.jsx +++ b/frontend/src/components/LLMSelection/LLMItem/index.jsx @@ -27,11 +27,9 @@ export default function LLMItem({ alt={`${name} logo`} className="w-10 h-10 rounded-md" /> - <div className="flex flex-col gap-y-1"> + <div className="flex flex-col"> <div className="text-sm font-semibold">{name}</div> - <div className="mt-2 text-xs text-white tracking-wide"> - {description} - </div> + <div className="mt-1 text-xs text-white/60">{description}</div> </div> </div> </div> diff --git a/frontend/src/components/VectorDBSelection/VectorDBItem/index.jsx b/frontend/src/components/VectorDBSelection/VectorDBItem/index.jsx index 47f067f5c..ec35537bf 100644 --- a/frontend/src/components/VectorDBSelection/VectorDBItem/index.jsx +++ b/frontend/src/components/VectorDBSelection/VectorDBItem/index.jsx @@ -27,9 +27,9 @@ export default function VectorDBItem({ alt={`${name} logo`} className="w-10 h-10 rounded-md" /> - <div className="flex flex-col gap-y-1"> + <div className="flex flex-col"> <div className="text-sm font-semibold">{name}</div> - <div className="text-xs text-white tracking-wide">{description}</div> + <div className="mt-1 text-xs text-white/60">{description}</div> </div> </div> </div>