mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Settings UI: Tighten up the payment methods footer and modal styling
This commit is contained in:
parent
6a4c99325c
commit
0aa3be0ab1
3 changed files with 16 additions and 18 deletions
|
@ -63,6 +63,10 @@
|
|||
&:hover {
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
&.components-button {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.ppcp--method-icon {
|
||||
|
@ -79,6 +83,7 @@
|
|||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: auto;
|
||||
min-height: 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -73,7 +73,6 @@
|
|||
gap: 8px;
|
||||
|
||||
&--save {
|
||||
margin-top: -4px;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
|
@ -87,7 +86,7 @@
|
|||
&__field-rows {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
gap: 18px;
|
||||
|
||||
&--acdc {
|
||||
gap: 18px;
|
||||
|
@ -98,19 +97,11 @@
|
|||
}
|
||||
|
||||
.components-radio-control {
|
||||
.components-flex {
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
label {
|
||||
@include font(14, 20, 400);
|
||||
color: $color-black;
|
||||
}
|
||||
|
||||
&__option {
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
&__input {
|
||||
border-color: $color-gray-700;
|
||||
margin-right: 0;
|
||||
|
|
|
@ -100,14 +100,16 @@ const Modal = ( { method, setModalIsVisible, onSave } ) => {
|
|||
case 'radio':
|
||||
return (
|
||||
<>
|
||||
<strong className="ppcp-r-modal__content-title">
|
||||
{ field.label }
|
||||
</strong>
|
||||
{ field.description && (
|
||||
<p className="ppcp-r-modal__description">
|
||||
{ field.description }
|
||||
</p>
|
||||
) }
|
||||
<div className="ppcp-r-modal__field-row">
|
||||
<strong className="ppcp-r-modal__content-title">
|
||||
{ field.label }
|
||||
</strong>
|
||||
{ field.description && (
|
||||
<span className="ppcp-r-modal__field-description">
|
||||
{ field.description }
|
||||
</span>
|
||||
) }
|
||||
</div>
|
||||
<div className="ppcp-r-modal__field-row">
|
||||
<RadioControl
|
||||
selected={ settings[ key ] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue