Skip to content

Conversation

@adrienzheng-cb
Copy link
Contributor

@adrienzheng-cb adrienzheng-cb commented Dec 12, 2025

What changed? Why?

Root cause (required for bugfixes)

UI changes

docs
storybook

Testing

How has it been tested?

  • Unit tests
  • Interaction tests
  • Pseudo State tests
  • Manual - Web
  • Manual - Android (Emulator / Device)
  • Manual - iOS (Emulator / Device)

Testing instructions

Illustrations/Icons Checklist

Required if this PR changes files under packages/illustrations/** or packages/icons/**

  • verified visreg changes with Terran (include link to visreg run/approval)
  • all illustration/icons names have been reviewed by Dom and/or Terran

Change management

type=routine
risk=low
impact=sev5

automerge=false

@adrienzheng-cb adrienzheng-cb marked this pull request as ready for review January 22, 2026 15:22
}
// when media is placed at the end, we need to add additional padding to the end of the media container
// this is to avoid the dismiss button from overlapping with the media
return onDismiss
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: just a random idea, but for situations like this, I wonder if it would be more obvious what it is we're going for if we rendered a spacer element instead of adjusting the style of an otherwise unrelated element to the dismiss. The element could be called like dismissSpacer or something else descriptive

Copy link
Contributor

Choose a reason for hiding this comment

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

also should the Root card component encapsulate the dismiss button?

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants