Skip to content

Commit

Permalink
fix(toast-notification): match updated spec (#8165)
Browse files Browse the repository at this point in the history
* fix(toast-notification): update notification icon spacing

* fix(toast-notification): update left padding

* fix(Notification): remove inline width rule

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
emyarod and kodiakhq[bot] committed Mar 29, 2021
1 parent 431e5fc commit 76f61a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
margin-top: $carbon--spacing-03;
margin-right: $carbon--spacing-05;
margin-bottom: $carbon--spacing-03;
padding-left: rem(14px);
padding-left: $carbon--spacing-05;
color: $inverse-01;
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);

Expand Down Expand Up @@ -133,8 +133,8 @@

.#{$prefix}--toast-notification__icon {
flex-shrink: 0;
margin-top: rem(14px);
margin-right: rem(14px);
margin-top: $carbon--spacing-05;
margin-right: $carbon--spacing-05;
}

.#{$prefix}--toast-notification__details {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const Toast = () => (
<ToastNotification
{...notificationProps()}
caption={text('Caption (caption)', '00:00:00 AM')}
style={{ minWidth: '30rem', marginBottom: '.5rem' }}
style={{ marginBottom: '.5rem' }}
/>
);

Expand Down

0 comments on commit 76f61a6

Please sign in to comment.