Skip to content

抽屉弹窗设置内容区padding为0,内容区顶部还是存在间距 #21273

Closed

Description

@liyang0612

描述问题:

抽屉弹窗设置内容区的padding为0,但是内容区和标题区之间还是存在很大的间距。

截图或视频:

<img width="1440" height="694" alt="Image" src="https://github.com/user-attachments/assets/2cd482a4-41dc-4701-bac6-37167f8da984" />

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的?
    我使用了sdk

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
    最新版本,以及master分支运行均有此问题。

  3. 粘贴有问题的完整 amis schema 代码:

  4. 操作步骤
    仅简单排查发现是before引起的,这样设计是有什么特殊的考量吗?

    Image

Activity

  1. github-actions commented on Jan 23, 2026

    @github-actions

    该 issue 被自动判定为可能的垃圾(包含 2 个链接,包含电话号码模式且带有异常符号格式)。已自动关闭。如误判请联系维护者。

  2. added
    spam
    on Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    spam

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions