Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(web): align region selector icons (#14451)

Tobias Wochinger049732694c34
diff --git a/web/src/features/auth/components/AuthCloudRegionSwitch.tsx b/web/src/features/auth/components/AuthCloudRegionSwitch.tsx
index 42d285ed73..3b0d354ab2 100644
--- a/web/src/features/auth/components/AuthCloudRegionSwitch.tsx
+++ b/web/src/features/auth/components/AuthCloudRegionSwitch.tsx
@@ -73,8 +73,19 @@ export function CloudRegionSwitch({
<SelectContent>
{regions.map((region) => (
<SelectItem key={region.name} value={region.name}>
- <span className="mr-2 text-xl leading-none">{region.flag}</span>
- {region.name}
+ <span className="flex items-center gap-2">
+ <span
+ className={
+ // The HIPAA symbol glyph sits lower than flag emojis in the same font.
+ region.name === "HIPAA"
+ ? "-translate-y-[3px] text-xl leading-none"
+ : "-translate-y-px text-xl leading-none"
+ }
+ >
+ {region.flag}
+ </span>
+ <span>{region.name}</span>
+ </span>
</SelectItem>
))}
</SelectContent>