forked from akai/readest
fix(css): support style transformer for inline css (#2403)
* fix(css): support style transformer for inline css * fix(eink): bold text for current chapter in the TOC, closes #2401
This commit is contained in:
@@ -68,7 +68,7 @@ const TOCItemView = React.memo<{
|
||||
className={clsx(
|
||||
'flex w-full cursor-pointer items-center rounded-md py-4 sm:py-2',
|
||||
isActive
|
||||
? 'sm:bg-base-300/65 sm:hover:bg-base-300/75 sm:text-base-content text-blue-500'
|
||||
? 'text-bold-in-eink sm:bg-base-300/65 sm:hover:bg-base-300/75 sm:text-base-content text-blue-500'
|
||||
: 'sm:hover:bg-base-300/75',
|
||||
)}
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user