Skip to content

Commit aef667e

Browse files
author
Paul Dechov
authored
Address minor styling issues in settings (#2316)
* Adjust improperly shifted modal header * Remove excess spacing within webhook information * Remove unnecessary margin at top of account keys modal content
1 parent 12a212a commit aef667e

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

client/components/confirmation-modal/style.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
}
2525

2626
.components-modal__header {
27-
margin: 0 -#{$grid-unit-30} $grid-unit-30;
2827
padding: 0 $grid-unit-30;
2928
@media ( max-width: 599px ) {
3029
button {

client/settings/account-details/index.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,17 @@ const WebhooksSection = () => {
8282
</div>
8383
<div className="account-details__desc">
8484
<WebhookInformation />
85-
<br />
86-
<br />
87-
{ message }{ ' ' }
88-
<Button
89-
disabled={ requestStatus === 'pending' }
90-
onClick={ refreshMessage }
91-
isBusy={ requestStatus === 'pending' }
92-
isLink
93-
>
94-
{ __( 'Refresh', 'woocommerce-gateway-stripe' ) }
95-
</Button>
85+
<p>
86+
{ message }{ ' ' }
87+
<Button
88+
disabled={ requestStatus === 'pending' }
89+
onClick={ refreshMessage }
90+
isBusy={ requestStatus === 'pending' }
91+
isLink
92+
>
93+
{ __( 'Refresh', 'woocommerce-gateway-stripe' ) }
94+
</Button>
95+
</p>
9696
</div>
9797
</>
9898
);

client/settings/payment-settings/account-keys-modal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ const StyledConfirmationModal = styled( ConfirmationModal )`
167167
margin: 0 -24px 24px;
168168
}
169169
.wcstripe-inline-notice {
170+
margin-top: -24px;
170171
margin-bottom: 0;
171172
}
172173
.wcstripe-confirmation-modal__separator {

0 commit comments

Comments
 (0)