fix: prevent env check card border overflow on hover

Add horizontal padding to the grid container to accommodate the scale
transform effect when hovering over environment check cards.
This commit is contained in:
Jason
2025-12-30 12:35:14 +08:00
parent 5376ea042b
commit cce6ae86a5
+1 -1
View File
@@ -312,7 +312,7 @@ export function AboutSection({ isPortable }: AboutSectionProps) {
{isLoadingTools ? t("common.refreshing") : t("common.refresh")}
</Button>
</div>
<div className="grid gap-3 sm:grid-cols-3">
<div className="grid gap-3 sm:grid-cols-3 px-1">
{["claude", "codex", "gemini"].map((toolName, index) => {
const tool = toolVersions.find((item) => item.name === toolName);
const displayName = tool?.name ?? toolName;