Skip to content

[规则反馈] #4

Description

@youqiongyue

反馈类型

🐛 误报 (False Positive) — 合规文章被误判为违规

涉及规则

1.5 height

🔗 方式一:文章链接(推荐)

No response

📋 方式二:粘贴 HTML 代码(≤ 64KB)

<section style="margin: 10px auto;" >
	<section class="assistant" style="width: 30px;margin-bottom: -20px;margin-left: 15px;box-sizing:border-box;">
		<img class="assistant" style="width: 100%; display: block;vertical-align:baseline;box-sizing:border-box;max-width:100% !important;" src="https://bcn.135editor.com/files/images/editor_styles/0f21214dec37748348afa503a6a99959.png" data-ratio="0.9477503628447025" data-w="689"/>
	</section>
	<section style="background-color: #fef8f1;padding: 10px 10px;box-sizing:border-box;">
		<section style="font-size: 16px;color: #187390;text-align: center;">
			<strong class="135brush" data-brushtype="text">成长路上 感恩有你</strong>
		</section>
	</section>
	<section class="assistant" style="width: 35px;margin-left: auto;margin-top: -57px;box-sizing:border-box;">
		<img class="assistant" style="width: 100%; display: block;vertical-align:baseline;box-sizing:border-box;max-width:100% !important;" src="https://bcn.135editor.com/files/images/editor_styles/2c7bf2a2922ed39ced2b986e517deec7.png" data-ratio="1.6701388888888888" data-w="864"/>
	</section>
</section>

问题描述

如果是无论任何容器都不可以将高度设置为固定值,线条类或者色块类都会被提示,这种设计会有很多,给用户造成的压力会很大。不少排版需要限制高度,内部内容滚动。

期望行为

建议不提示,可以对固定高度的强制增加滚动条
如一定要提示:建议检测提示可以优化下:

  • 有滚动条的不提示
  • 检测文字层的父级是否设置了height,如果父级有height就给出提示,反之则不提示。
  • 因为色块与线条类有很多这种高度设置,是不可避免的设计,如果将这些都包含进去,那么会出现大批提示从而给用户造成极大压力;比如2px的section背景线条

检测思路(可选)

No response

提交前确认

  • 我已阅读规范文档,确认此问题未被现有规则覆盖
  • 如提供了文章链接,我确认该链接为永久链接,非预览链接
  • 我理解此 Issue 将由 AI Agent 自动处理,处理结果会在此 Issue 中反馈

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions