Update Discover Duo Pro for smaller screens
What does this MR do and why?
- Fix images overlaps
- Fix grid alignment
- Align image border-radius with card border-radius
- Use
gapinstead of differentmarginfor different breakpoints - Remove unnecessary
gridfor buttons
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Create a new group
- Run
bin/rails cg = Group.last u = User.first g.owner = u g.save! GitlabSubscriptions::AddOn.find_or_create_by(name: 'code_suggestions', description: GitlabSubscriptions::AddOn.descriptions[:code_suggestions]) GitlabSubscription.last.update(trial: true, trial_starts_on: 5.days.ago, trial_ends_on: Date.tomorrow) GitlabSubscriptions::AddOnPurchase.create(subscription_add_on_id: GitlabSubscriptions::AddOn.find_by(name: 'code_suggestions').id, namespace: Group.last, started_at: 5.days.ago, expires_on: Date.tomorrow, trial: true, quantity: 1, purchase_xid: 1, organization_id: 1) - Go to
http://gdk.test:3000/groups/YOUR_GROUP_NAME/-/add_ons/discover_duo_pro - Change the window size
Edited by Julia Miocene

