hectorqin / hectorqin/reader

使用自定义目录规则会导致无法调整左右间距(手机模式)

Open
#659 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
11k
Forks
5.5k
PR merge metrics
No merged PRs in 30d

Description

使用自定义目录规则会导致部分小说无法调整左右间距

小说来源:本地txt

版本:reader-pro-3.2.13.jar

问题出现在web手机模式。

使用的规则是自定义的冒号分割

正则表达式:.*(?<=:)\s([\u4e00-\u9fa5a-zA-Z0-9]{1,7})[^\n]{1,35}(|\n)

以下是使用自定义的目录规则,无法设置左右间距

Image

以下是使用自带的目录规则,可以正常设置左右间距

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in web mobile mode using a local TXT novel and the reported custom colon-splitting regular expression, then compare it with a built-in catalog rule. Trace how each rule affects the left and right spacing controls; done means custom catalog rules allow those controls to work correctly.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.