| ... | ... | @@ -126,7 +126,7 @@ export function SidebarProviderUpdatePill() { |
| 126 | 126 | |
| 127 | 127 | return ( |
| 128 | 128 | <div |
| 129 | | className={`group/provider-update relative flex h-7 w-full items-center overflow-hidden rounded-lg text-xs font-medium transform-gpu transition-all duration-180 ease-[cubic-bezier(0.22,1,0.36,1)] will-change-transform ${ |
| 129 | className={`group/provider-update relative flex min-h-7 w-full shrink-0 items-center overflow-hidden rounded-lg text-[11px] leading-4 font-medium transform-gpu transition-all duration-180 ease-[cubic-bezier(0.22,1,0.36,1)] will-change-transform ${ |
| 130 | 130 | PROVIDER_UPDATE_PILL_STYLES[displayedView.tone] |
| 131 | 131 | } ${ |
| 132 | 132 | exitingKey === displayedView.key |
| ... | ... | @@ -170,19 +170,19 @@ export function SidebarProviderUpdatePill() { |
| 170 | 170 | <button |
| 171 | 171 | type="button" |
| 172 | 172 | aria-label={displayedView.description} |
| 173 | | className="provider-update-main relative z-[1] flex h-full flex-1 items-center gap-2 px-2 text-left" |
| 173 | className="provider-update-main relative z-[1] flex min-w-0 flex-1 items-center gap-2 px-2 py-1.5 text-left" |
| 174 | 174 | onClick={openProviderSettings} |
| 175 | 175 | > |
| 176 | 176 | {displayedView.tone === "loading" ? ( |
| 177 | | <Spinner className="size-3.5" /> |
| 177 | <Spinner className="size-3.5 shrink-0" /> |
| 178 | 178 | ) : displayedView.tone === "success" ? ( |
| 179 | | <CircleCheckIcon className="size-3.5" /> |
| 179 | <CircleCheckIcon className="size-3.5 shrink-0" /> |
| 180 | 180 | ) : displayedView.tone === "error" ? ( |
| 181 | | <TriangleAlertIcon className="size-3.5" /> |
| 181 | <TriangleAlertIcon className="size-3.5 shrink-0" /> |
| 182 | 182 | ) : ( |
| 183 | | <DownloadIcon className="size-3.5" /> |
| 183 | <DownloadIcon className="size-3.5 shrink-0" /> |
| 184 | 184 | )} |
| 185 | | <span>{displayedView.title}</span> |
| 185 | <span className="min-w-0 wrap-break-word">{displayedView.title}</span> |
| 186 | 186 | </button> |
| 187 | 187 | } |
| 188 | 188 | /> |
| ... | ... | @@ -199,7 +199,7 @@ export function SidebarProviderUpdatePill() { |
| 199 | 199 | className="relative z-[1] mr-1 [--control-icon-color:currentColor] rounded-md text-inherit opacity-70 hover:bg-transparent hover:opacity-100" |
| 200 | 200 | onClick={() => startExit(displayedView.key, null, displayedView.key)} |
| 201 | 201 | > |
| 202 | | <XIcon className="size-3.5" /> |
| 202 | <XIcon className="size-3.5 shrink-0" /> |
| 203 | 203 | </Button> |
| 204 | 204 | } |
| 205 | 205 | /> |