2924f716d4
Five-layer defense so that no single library/browser quirk can flip the layout back to LTR: 1. <body dir="rtl"> in addition to <html dir="rtl"> — some libs read document.body.dir, not document.documentElement.dir. 2. Explicit `direction: rtl` on html, body in the @layer base CSS. 3. <DirectionProvider dir="rtl"> from @radix-ui/react-direction wrapping the React tree, so every Radix primitive (Tabs, Dialog, Select, Popover, Toast) gets RTL context — Radix's useDirection defaults to "ltr" without it. 4. shadcn Tabs wrapper now defaults its dir prop to "rtl" — redundant with the provider above, but defends against a future provider removal silently breaking Tabs. 5. dir="rtl" set explicitly on each <table> element. Fixes the symptom seen on the live site: deals/appraisals tables had תאריך (the first <th> in the JSX) rendering on the LEFT instead of the RIGHT, and Tabs flowed עסקאות→שמאי left-to-right instead of the expected right-to-left. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
20 lines
772 B
HTML
20 lines
772 B
HTML
<!doctype html>
|
|
<html lang="he" dir="rtl">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>נדל"ן ושמאי מכריע — Marcus-Law</title>
|
|
<meta name="description" content="חיפוש עסקאות נדל"ן והחלטות שמאי מכריע באזור ספציפי" />
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
</head>
|
|
<body dir="rtl">
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|