Skip to content

style: tool debug drawer - #7862

Merged
fit2cloudwxx merged 1 commit into
v3from
pr@v3@style_toolDebugDrawer
Nov 12, 2026
Merged

fit2cloudwxx merged 1 commit into
v3from
pr@v3@style_toolDebugDrawer

Conversation

@shaohuzhang1

@shaohuzhang1 shaohuzhang1 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

【【工具】创建工具-调试:间距 16px】
https://www.tapd.cn/tapd_fe/45245355/bug/detail/1145245355001079281

class="mb-4!"
show-icon
/>
<p class="mb-2">输出</p>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change from class="mb-4" to class="mb-4!" introduces a syntax error and is invalid.

Issues:

  1. Invalid Syntax: In HTML templates (Vue/React/etc.), !" is not a valid character sequence for ending an attribute value or CSS class name. The closing quote " is missing, and the ! is treated as part of the string literal, resulting in the class name becoming mb-4!.
  2. Broken Rendering: This will likely cause a parsing error by the compiler (breaking the build) or render an element with an invalid/non-existent Tailwind/utility class, potentially breaking styling or causing unexpected layout shifts.

Suggestion:
Revert to the original code:

class="mb-4"

@fit2cloudwxx
fit2cloudwxx merged commit aa897f7 into v3 Nov 12, 2026
3 of 4 checks passed
@fit2cloudwxx
fit2cloudwxx deleted the pr@v3@style_toolDebugDrawer branch November 12, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants