mindchain commited on
Commit
b46d90e
·
verified ·
1 Parent(s): 33bfb64

Upload source/src/App.jsx with huggingface_hub

Browse files
Files changed (1) hide show
  1. source/src/App.jsx +3 -3
source/src/App.jsx CHANGED
@@ -192,9 +192,9 @@ function ModelRow({ m, live, open, onToggle }) {
192
  const short = m.id.replace('mindchain/', '')
193
  return (
194
  <>
195
- <tr onClick={onToggle} className="group cursor-pointer border-b border-[var(--line2)] transition-colors hover:bg-[var(--accent-soft)]/40">
196
- <td className="max-w-0 py-3 pl-1 pr-3 align-middle">
197
- <div className="truncate font-mono text-[13px] font-semibold">
198
  <span className="text-[var(--faint)]">mindchain/</span>{short}
199
  </div>
200
  {m.pipeline && <div className="mt-0.5 truncate text-[11px] text-[var(--faint)]">{m.pipeline}</div>}
 
192
  const short = m.id.replace('mindchain/', '')
193
  return (
194
  <>
195
+ <tr onClick={onToggle} role="button" tabIndex={0} onKeyDown={(e) => { if (e.key === "Enter") onToggle() }} className="group cursor-pointer border-b border-[var(--line2)] transition-colors hover:bg-[var(--accent-soft)]/40">
196
+ <td className="py-3 pl-1 pr-3 align-middle">
197
+ <div className="break-all font-mono text-[13px] font-semibold">
198
  <span className="text-[var(--faint)]">mindchain/</span>{short}
199
  </div>
200
  {m.pipeline && <div className="mt-0.5 truncate text-[11px] text-[var(--faint)]">{m.pipeline}</div>}