mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
Fix opencode auth error mapping and perf containment
This commit is contained in:
@@ -60,6 +60,7 @@ export function OpencodeSettingsTab() {
|
|||||||
hasApiKey: cliStatusData.auth.hasApiKey,
|
hasApiKey: cliStatusData.auth.hasApiKey,
|
||||||
hasEnvApiKey: cliStatusData.auth.hasEnvApiKey,
|
hasEnvApiKey: cliStatusData.auth.hasEnvApiKey,
|
||||||
hasOAuthToken: cliStatusData.auth.hasOAuthToken,
|
hasOAuthToken: cliStatusData.auth.hasOAuthToken,
|
||||||
|
error: cliStatusData.auth.error,
|
||||||
};
|
};
|
||||||
}, [cliStatusData]);
|
}, [cliStatusData]);
|
||||||
|
|
||||||
|
|||||||
@@ -132,6 +132,7 @@
|
|||||||
:root {
|
:root {
|
||||||
/* Default to light mode */
|
/* Default to light mode */
|
||||||
--radius: 0.625rem;
|
--radius: 0.625rem;
|
||||||
|
--perf-contain-intrinsic-size: 500px;
|
||||||
--background: oklch(1 0 0);
|
--background: oklch(1 0 0);
|
||||||
--foreground: oklch(0.145 0 0);
|
--foreground: oklch(0.145 0 0);
|
||||||
--card: oklch(1 0 0);
|
--card: oklch(1 0 0);
|
||||||
@@ -1124,4 +1125,5 @@
|
|||||||
.perf-contain {
|
.perf-contain {
|
||||||
contain: layout paint;
|
contain: layout paint;
|
||||||
content-visibility: auto;
|
content-visibility: auto;
|
||||||
|
contain-intrinsic-size: auto var(--perf-contain-intrinsic-size);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user