linguabot commited on
Commit
75c784a
·
verified ·
1 Parent(s): 37a5130

Upload folder using huggingface_hub

Browse files
client/public/rebuild-nonce.txt CHANGED
@@ -1 +1 @@
1
- Rebuild nonce: 2025-10-25T17:55:15Z
 
1
+ Rebuild nonce: 2025-10-25T18:05:30Z
client/src/index.css CHANGED
@@ -15,18 +15,6 @@
15
 
16
  /* Font face moved to public/index.html to load from /fonts without bundler resolution */
17
 
18
- /* Safari-specific fixes for layout jumping */
19
- @supports (-webkit-appearance: none) {
20
- .safari-stable-form {
21
- contain: layout;
22
- -webkit-transform: translateZ(0);
23
- }
24
-
25
- .safari-stable-form select,
26
- .safari-stable-form textarea {
27
- -webkit-transform: translateZ(0);
28
- }
29
- }
30
 
31
  /* Chrome-specific improvements */
32
  html.is-chrome .safari-stable-form {
 
15
 
16
  /* Font face moved to public/index.html to load from /fonts without bundler resolution */
17
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  /* Chrome-specific improvements */
20
  html.is-chrome .safari-stable-form {
client/src/index.tsx CHANGED
@@ -20,31 +20,6 @@ import App from './App';
20
  } catch {}
21
  })();
22
 
23
- // Safari jumping fix - prevent focus events from causing layout shifts
24
- (() => {
25
- try {
26
- const ua = navigator.userAgent;
27
- const isSafari = /^((?!chrome|android).)*safari/i.test(ua);
28
- if (isSafari) {
29
- // Prevent Safari from jumping on form interactions
30
- const preventSafariJump = (e: Event) => {
31
- const target = e.target as HTMLElement;
32
- if (target && (target.tagName === 'SELECT' || target.tagName === 'TEXTAREA')) {
33
- // Prevent default behavior that causes jumping
34
- e.preventDefault();
35
- e.stopPropagation();
36
-
37
- // Manually focus the element
38
- target.focus();
39
- }
40
- };
41
-
42
- // Listen for mousedown events to intercept before focus
43
- document.addEventListener('mousedown', preventSafariJump, { passive: false });
44
- }
45
- } catch {}
46
- })();
47
-
48
  const root = ReactDOM.createRoot(
49
  document.getElementById('root') as HTMLElement
50
  );
 
20
  } catch {}
21
  })();
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  const root = ReactDOM.createRoot(
24
  document.getElementById('root') as HTMLElement
25
  );