Skip to content

fix(ui): Add bottom margin to voucher message dialog - #461

Open
Jack251970 wants to merge 1 commit into
qxcnm:mainfrom
Jack251970:fix/voucher-message-margin
Open

fix(ui): Add bottom margin to voucher message dialog#461
Jack251970 wants to merge 1 commit into
qxcnm:mainfrom
Jack251970:fix/voucher-message-margin

Conversation

@Jack251970

@Jack251970 Jack251970 commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

变更摘要

image

改动范围

  • Frontend
  • Desktop / Tauri
  • Service
  • Gateway / Protocol Adapter
  • Docs / Governance
  • Workflow / Release

主要文件

验证

  • pnpm -C apps run test
  • pnpm -C apps run build
  • pnpm -C apps run test:ui
  • cargo test --workspace
  • 其他本地验证已说明

已执行的实际验证:


未执行的验证与原因:


风险与影响面

备注

  • 提交前请确认未包含敏感 token、cookie、API key

Copilot AI lite review requested due to automatic review settings September 5, 2026 09:24
@Jack251970 Jack251970 changed the title fix(account-reset): Add margin to voucher message dialog fix(account-reset): Add bottom margin to voucher message dialog Sep 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

Single, low-risk Tailwind class adjustment consistent with how DialogFooter is overridden elsewhere in the app.

Pull request overview

This PR adjusts the frontend account reset voucher dialog layout by neutralizing the default negative margins applied by the shared DialogFooter, so the footer spacing/padding renders as intended.

Changes:

  • Update DialogFooter class overrides to cancel the component’s default -mx-4 -mb-4 margins (via mx-0 mb-0).
  • Keep the custom footer styling (border/background/padding) intact while fixing the layout spacing.
File summaries
File Description
apps/src/components/account-reset-credit-control.tsx Overrides DialogFooter margins to prevent the default negative margins from affecting the voucher/reset dialog footer layout.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Jack251970 Jack251970 changed the title fix(account-reset): Add bottom margin to voucher message dialog fix(ui): Add bottom margin to voucher message dialog Sep 6, 2026
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