Skip to content

Commit

Permalink
chore(ConsentManager): stack actions on mobile (#729)
Browse files Browse the repository at this point in the history
* chore: stack actions on mobile

* chore: add changeset
  • Loading branch information
alexcarpenter committed Oct 5, 2022
1 parent 28a11e5 commit 13a6f0d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/serious-experts-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hashicorp/react-consent-manager': minor
---

stack actions on mobile
8 changes: 7 additions & 1 deletion packages/consent-manager/components/dialog.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,16 @@

.dialogFooter {
display: flex;
flex-direction: column;
justify-content: flex-end;
flex-shrink: 0;
padding: 24px;
gap: 24px;
column-gap: 24px;
row-gap: 12px;
background-color: var(--wpl-neutral-0);
border-top: 1px solid var(--wpl-neutral-200);

@media (min-width: 420px) {
flex-direction: row;
}
}

1 comment on commit 13a6f0d

@vercel
Copy link

@vercel vercel bot commented on 13a6f0d Oct 5, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.