Skip to content

Commit

Permalink
fix(snackbar): padding
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Feb 7, 2023
1 parent 78451cd commit 6765f89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/pwa-helper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alwatr/pwa-helper",
"version": "0.29.0-beta9",
"version": "0.29.0-beta10",
"description": "Alwatr PWA Helper",
"keywords": [
"element",
Expand Down
3 changes: 2 additions & 1 deletion ui/ui-kit/src/snackbar/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class AlwatrSnackbar extends AlwatrSurface {
display: flex;
align-items: center;
padding: var(--sys-spacing-track);
padding: calc(0.5 * var(--sys-spacing-track)) var(--sys-spacing-track);
gap: var(--sys-spacing-track);
position: fixed;
bottom: calc(2 * var(--sys-spacing-track));
Expand All @@ -39,6 +39,7 @@ export class AlwatrSnackbar extends AlwatrSurface {
border-radius: var(--sys-radius-xsmall);
box-sizing: border-box;
min-height: calc(6 * var(--sys-spacing-track));
max-width: calc(var(--sys-breakpoint-handset) - 8 * var(--sys-spacing-track));
/* margin: 0 auto; */
Expand Down

0 comments on commit 6765f89

Please sign in to comment.