fix: resize bing tabs

This commit is contained in:
Danny Avila 2023-03-29 09:02:49 -04:00
parent b9699feb3b
commit 39ff9c1bc2
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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);