diff --git a/apps/code/src/renderer/features/sessions/components/SessionView.tsx b/apps/code/src/renderer/features/sessions/components/SessionView.tsx index 05e4de94ec..b95675e7de 100644 --- a/apps/code/src/renderer/features/sessions/components/SessionView.tsx +++ b/apps/code/src/renderer/features/sessions/components/SessionView.tsx @@ -250,7 +250,6 @@ export function SessionView({ [onSendPrompt], ); - const { isOnline } = useConnectivity(); const handleBeforeSubmit = useCallback( (text: string, clearEditor: () => void): boolean => { if (!isOnline) { diff --git a/apps/code/tailwind.config.js b/apps/code/tailwind.config.js index 90a04fa901..4778ccd2b0 100644 --- a/apps/code/tailwind.config.js +++ b/apps/code/tailwind.config.js @@ -33,6 +33,17 @@ module.exports = { 900: "#7f1d1d", }, }, + // radix-themes-tw replaces Tailwind's lineHeight scale with `{ 1: var(--line-height-1), … 9: var(--line-height-9) }`, + // which silently drops the named utilities (`leading-tight`, `leading-snug`, `leading-normal`, …). Re-add them so + // utilities written against the standard Tailwind names continue to apply. + lineHeight: { + none: "1", + tight: "1.25", + snug: "1.375", + normal: "1.5", + relaxed: "1.625", + loose: "2", + }, // fontFamily lives in globals.css `@theme` (--font-sans / --font-mono) // — the Tailwind v4 source of truth. Don't re-declare here. },