Skip to content

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

refactor(web): Enable `tailwindcss/enforces-negative-arbitrary-values` (#14485)

Ben Bachem4b283b44f746
diff --git a/web/eslint.config.mjs b/web/eslint.config.mjs
index 77a87d1a16..7f0c455b53 100644
--- a/web/eslint.config.mjs
+++ b/web/eslint.config.mjs
@@ -52,12 +52,12 @@ export default [
],
},
],
+ "tailwindcss/enforces-negative-arbitrary-values": "warn",
// TODO: Enable these rule later
"tailwindcss/classnames-order": "off",
"tailwindcss/enforces-shorthand": "off",
"tailwindcss/no-unnecessary-arbitrary-value": "off",
"tailwindcss/no-contradicting-classname": "off",
- "tailwindcss/enforces-negative-arbitrary-values": "off",
},
},
diff --git a/web/src/features/auth/components/AuthCloudRegionSwitch.tsx b/web/src/features/auth/components/AuthCloudRegionSwitch.tsx
index 3b0d354ab2..a6811052e1 100644
--- a/web/src/features/auth/components/AuthCloudRegionSwitch.tsx
+++ b/web/src/features/auth/components/AuthCloudRegionSwitch.tsx
@@ -78,7 +78,7 @@ export function CloudRegionSwitch({
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-[-3px] text-xl leading-none"
: "-translate-y-px text-xl leading-none"
}
>