mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
fix: prettier formatting after dev rebase
This commit is contained in:
parent
6b84911e95
commit
35a3df4bb0
5 changed files with 6 additions and 6 deletions
|
|
@ -18,7 +18,7 @@ export default function Item({ apiKey }: ItemProps) {
|
|||
const status = getExpiryStatus(apiKey.expiresAt);
|
||||
|
||||
return (
|
||||
<li className="hover:bg-surface-secondary/50 group flex items-start justify-between gap-3 px-4 py-3 transition-colors first:rounded-t-xl last:rounded-b-xl">
|
||||
<li className="group flex items-start justify-between gap-3 px-4 py-3 transition-colors first:rounded-t-xl last:rounded-b-xl hover:bg-surface-secondary/50">
|
||||
<div className="min-w-0 flex-1 space-y-1">
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="truncate font-medium text-text-primary">{apiKey.name}</span>
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ function ShareHeader({
|
|||
|
||||
return (
|
||||
<section className="mx-auto w-full px-2 pb-3 pt-4 md:px-5 md:pb-4 md:pt-6">
|
||||
<div className="bg-surface-primary/80 relative mx-auto flex w-full max-w-[60rem] flex-col gap-3 rounded-2xl border border-border-light px-4 py-4 shadow-xl backdrop-blur md:gap-4 md:rounded-3xl md:px-6 md:py-5">
|
||||
<div className="relative mx-auto flex w-full max-w-[60rem] flex-col gap-3 rounded-2xl border border-border-light bg-surface-primary/80 px-4 py-4 shadow-xl backdrop-blur md:gap-4 md:rounded-3xl md:px-6 md:py-5">
|
||||
<div className="flex flex-col gap-3 md:flex-row md:items-end md:justify-between">
|
||||
<div className="min-w-0 space-y-1.5 md:space-y-2">
|
||||
<h1 className="line-clamp-2 break-words text-2xl font-semibold text-text-primary md:text-4xl">
|
||||
|
|
@ -234,7 +234,7 @@ function ShareHeader({
|
|||
<div className="relative focus-within:z-[100]">
|
||||
<ThemeSelector theme={theme} onChange={onThemeChange} portal={false} />
|
||||
</div>
|
||||
<div className="bg-border-medium/60 h-px w-full" />
|
||||
<div className="h-px w-full bg-border-medium/60" />
|
||||
<div className="relative focus-within:z-[100]">
|
||||
<LangSelector langcode={langcode} onChange={onLangChange} portal={false} />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ export default function PublicSharingToggle({
|
|||
<div
|
||||
className={cn(
|
||||
'rounded-lg transition-all duration-300',
|
||||
isPublic ? 'bg-surface-secondary/50 translate-y-0' : '-translate-y-2',
|
||||
isPublic ? 'translate-y-0 bg-surface-secondary/50' : '-translate-y-2',
|
||||
)}
|
||||
>
|
||||
<div className="flex items-center justify-between">
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ export default function RouteErrorBoundary() {
|
|||
role="alert"
|
||||
className="flex min-h-screen flex-col items-center justify-center bg-surface-primary bg-gradient-to-br"
|
||||
>
|
||||
<div className="bg-surface-primary/60 mx-4 w-11/12 max-w-4xl rounded-2xl border border-border-light p-8 shadow-2xl backdrop-blur-xl">
|
||||
<div className="mx-4 w-11/12 max-w-4xl rounded-2xl border border-border-light bg-surface-primary/60 p-8 shadow-2xl backdrop-blur-xl">
|
||||
<h2 className="mb-6 text-center text-3xl font-medium tracking-tight text-text-primary">
|
||||
{localize('com_ui_error_unexpected')}
|
||||
</h2>
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ class DataTableErrorBoundaryInner extends Component<
|
|||
aria-labelledby="datatable-error-title"
|
||||
aria-describedby="datatable-error-desc"
|
||||
tabIndex={-1}
|
||||
className="before:bg-surface-destructive/80 relative w-full max-w-md overflow-hidden rounded-lg border border-border-light bg-surface-primary-alt p-6 shadow-sm outline-none before:absolute before:left-0 before:top-0 before:h-full before:w-1 focus:ring-2 focus:ring-text-primary focus:ring-offset-2"
|
||||
className="relative w-full max-w-md overflow-hidden rounded-lg border border-border-light bg-surface-primary-alt p-6 shadow-sm outline-none before:absolute before:left-0 before:top-0 before:h-full before:w-1 before:bg-surface-destructive/80 focus:ring-2 focus:ring-text-primary focus:ring-offset-2"
|
||||
>
|
||||
<div className="flex items-center gap-2">
|
||||
<RefreshCw className="h-4 w-4 text-surface-destructive" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue