Skip to content

Commit

Permalink
Merge pull request #67 from WealthBar/fix.valet-tech-debt
Browse files Browse the repository at this point in the history
[fix] toast notice
  • Loading branch information
pez-work authored Nov 13, 2020
2 parents 46f9402 + f2272f6 commit b839d4e
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 10 deletions.
2 changes: 1 addition & 1 deletion css/assante-base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/assante-patterns.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/ppi-base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/ppi-patterns.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/wealthbar-base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/wealthbar-patterns.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wealthbar/peak-style",
"version": "2.5.3",
"version": "2.5.4",
"description": "Base and Pattern styles for Peak Design System",
"main": "scss/index.scss",
"scripts": {
Expand Down
18 changes: 16 additions & 2 deletions scss/patterns/layouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
border: none;
border-radius: 0;
width: 100%;

@media #{$screen-max-small} { box-shadow: none; }
@media #{$screen-width-medium} {
border: 1px solid $neutral-100;
border-radius: 0.25rem;
max-width: 36rem;
max-width: 36rem;
margin: 1.5rem auto;
}
}
Expand Down Expand Up @@ -83,6 +83,20 @@
> article, > header, > footer {
margin: 1rem 1.5rem;
}

// for use with toast notifications (account for close icon [x] button)
&.toast {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
p:last-child { margin-bottom: 0; }
button.icon {
flex: 0 1;
margin: 1rem 1.5rem 0 0;
padding: 0;
}
}
}

// Icon Block Pattern
Expand Down
1 change: 0 additions & 1 deletion scss/patterns/tabs.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.tabs,
[role="tablist"],
.tablist {
display: flex;
Expand Down

0 comments on commit b839d4e

Please sign in to comment.