From 39ff9c1bc2884fc8ed7640c6ef7fe6fe19b9bce4 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Wed, 29 Mar 2023 09:02:49 -0400 Subject: [PATCH] fix: resize bing tabs --- client/src/components/Input/BingStyles.jsx | 4 ++-- client/src/style.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/Input/BingStyles.jsx b/client/src/components/Input/BingStyles.jsx index 369d7237b9..50e649db80 100644 --- a/client/src/components/Input/BingStyles.jsx +++ b/client/src/components/Input/BingStyles.jsx @@ -20,8 +20,8 @@ function BingStyles(props, ref) { }, [conversationId, model, value]); const show = isBing && (!conversationId || messages?.length === 0 || props.show); - const defaultClasses = 'p-2 rounded-md font-normal bg-white/[.60] dark:bg-gray-700 text-black'; - const defaultSelected = defaultClasses + 'font-medium data-[state=active]:text-white'; + const defaultClasses = 'p-2 rounded-md min-w-[75px] font-normal bg-white/[.60] dark:bg-gray-700 text-black text-xs'; + const defaultSelected = defaultClasses + 'font-medium data-[state=active]:text-white text-xs'; const selectedClass = val => val + '-tab ' + defaultSelected; diff --git a/client/src/style.css b/client/src/style.css index 2df50e274c..86e343e63c 100644 --- a/client/src/style.css +++ b/client/src/style.css @@ -37,7 +37,7 @@ bottom: 39px; z-index: 995; margin-left: auto; margin-right: auto; -width: 408px; /* Need a specific value to work */ +width: 308px; /* Need a specific value to work */ transition: all 0.5s ease-in-out; pointer-events: none; transform: translateY(-60px);