refactor(frontend): remove ui.ts/icons.tsx and all rd-* legacy classes (B5)
This commit is contained in:
@@ -411,7 +411,10 @@ function TxtView({ book, initialLocator, initialPercent, chrome }: ReaderProps)
|
||||
<li key={i}>
|
||||
<button
|
||||
ref={i === ci ? activeRow : undefined}
|
||||
className={"rd-row" + (i === ci ? " rd-btn-on" : "")}
|
||||
className={
|
||||
"min-w-0 flex-1 truncate rounded-md px-2.5 py-1.5 text-left text-sm transition-colors hover:bg-accent hover:text-accent-foreground" +
|
||||
(i === ci ? " bg-accent text-accent-foreground" : "")
|
||||
}
|
||||
onClick={() => {
|
||||
goChapter(i);
|
||||
setNav(null);
|
||||
|
||||
Reference in New Issue
Block a user