mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 01:10:14 +01:00
Merge pull request #127 from HyunggyuJang/bing/fast-tone
Add fast tab for bing tone
This commit is contained in:
commit
52d57f67aa
2 changed files with 12 additions and 2 deletions
|
|
@ -44,6 +44,12 @@ function BingStyles(props, ref) {
|
||||||
<TabsTrigger
|
<TabsTrigger
|
||||||
value="fast"
|
value="fast"
|
||||||
className={`${value === 'fast' ? selectedClass(value) : defaultClasses}`}
|
className={`${value === 'fast' ? selectedClass(value) : defaultClasses}`}
|
||||||
|
>
|
||||||
|
{'Fast'}
|
||||||
|
</TabsTrigger>
|
||||||
|
<TabsTrigger
|
||||||
|
value="balanced"
|
||||||
|
className={`${value === 'balanced' ? selectedClass(value) : defaultClasses}`}
|
||||||
>
|
>
|
||||||
{'Balanced'}
|
{'Balanced'}
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ bottom: 39px;
|
||||||
z-index: 995;
|
z-index: 995;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
width: 308px; /* Need a specific value to work */
|
width: 408px; /* Need a specific value to work */
|
||||||
transition: all 0.5s ease-in-out;
|
transition: all 0.5s ease-in-out;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
transform: translateY(-60px);
|
transform: translateY(-60px);
|
||||||
|
|
@ -59,6 +59,10 @@ transform: translateY(-60px);
|
||||||
background: linear-gradient(90deg, #2870EA 10.79%, #1B4AEF 87.08%);
|
background: linear-gradient(90deg, #2870EA 10.79%, #1B4AEF 87.08%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.balanced-tab {
|
||||||
|
background: linear-gradient(90deg, #D7871A 10.79%, #9F6005 87.08%);
|
||||||
|
}
|
||||||
|
|
||||||
.precise-tab {
|
.precise-tab {
|
||||||
background: linear-gradient(90deg, #006880 10.79%, #005366 87.08%)
|
background: linear-gradient(90deg, #006880 10.79%, #005366 87.08%)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue