Skip to content

Commit

Permalink
Store - Fix label printing notice styles (#20189)
Browse files Browse the repository at this point in the history
* fix info notice styling during label printing

* fix step status icon alignment

* Use informational notice instead of warning
  • Loading branch information
jameskoster authored Nov 27, 2017
1 parent 7fd92f3 commit 4f73ce4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const AddressSuggestion = ( {
<div>
<Notice
className={ errorClass }
status="is-warning"
status="is-info"
showDismiss={ false } >
{ translate( 'We have slightly modified the address entered. ' +
'If correct, please use the suggested address to ensure accurate delivery.' ) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,8 @@
.is-error,
.is-warning,
.is-success {
.gridicon {
margin-top: -2px;
}

span:first-child {
margin-right: 6px;
.notice__icon {
display: block;
}
}

Expand Down Expand Up @@ -114,6 +110,10 @@
float: left;
}

.label-purchase-modal__step-status {
margin: 3px 0 0 5px;
}

.label-purchase-modal__step-title {
margin: 0 0 0 8px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,21 @@
margin-right: 2px;
}
}

.shipping-label__item-detail {
margin-bottom: 6px;

a {
vertical-align: text-top;
}
}
}

.shipping-label__item-actions {
margin-bottom: 0;

a {
margin-top: 10px;
}
}
}

.shipping-label__purchase-error {
Expand Down Expand Up @@ -93,12 +93,7 @@
}

.error-notice {
margin: -24px -24px 24px -24px;
width: inherit;

.notice__icon {
display: none;
}
}

.shipping-label__loading-spinner {
Expand Down

0 comments on commit 4f73ce4

Please sign in to comment.