Skip to content

Commit

Permalink
Merge branch 'develop' into feat/use-paypal-client-for-api-requests
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinderk authored Jul 31, 2023
2 parents eb8c4da + a0d278f commit 7a49a82
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion blocks/donation-form-grid/edit/inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const Inspector = ({attributes, setAttributes}) => {
</PanelBody>
</Panel>
<Panel>
<PanelBody title= {__('Grid Settings', 'give')} initialOpen={ true }>
<PanelBody className="give-donation-form-grid--grid-settings" title= {__('Grid Settings', 'give')} initialOpen={ true }>
<SelectControl
className="give-form-grid-inspector"
label={__('Order By', 'give')}
Expand Down
16 changes: 8 additions & 8 deletions blocks/donation-form-grid/edit/style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.give-form-grid-inspector{
.give-form-grid-inspector {
flex-direction: row !important;
align-items: center !important;
justify-content: space-between !important;
Expand All @@ -14,8 +14,6 @@
margin: -15px 0 15px 0 !important;
}



.components-base-control__label {
margin: 0 !important;
}
Expand All @@ -36,7 +34,7 @@
align-items: center !important;
justify-content: center !important;

.components-input-control__label{
.components-input-control__label {
flex: 1 !important;
margin: 0 !important;
}
Expand All @@ -45,18 +43,20 @@
.components-input-control__container {
max-width: 135px !important;

> select {
line-height: 1.2 !important;
}
> select {
line-height: 1.2 !important;
}
}
}

.components-form-token-field{
.give-donation-form-grid--grid-settings {
.components-form-token-field {
label { display: none !important;}
}

.exclude__form {
margin-top: 20px !important;
border: 1px solid transparent;
}
}

2 changes: 1 addition & 1 deletion blocks/donor-wall/edit/inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const { donorsPerPage,
</PanelBody>
</Panel>
<Panel>
<PanelBody title= {__('Wall Settings', 'give')} initialOpen={ false }>
<PanelBody className="give-wall--wall-settings" title= {__('Wall Settings', 'give')} initialOpen={ false }>
<SelectControl
className="give-donor-wall-inspector"
label={ __( 'Sort By', 'give' ) }
Expand Down
16 changes: 9 additions & 7 deletions blocks/donor-wall/edit/style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.give-donor-wall-inspector{
.give-donor-wall-inspector {
flex-direction: row !important;
align-items: center !important;
justify-content: space-between !important;
Expand Down Expand Up @@ -32,13 +32,15 @@
.components-input-control__container {
max-width: 165px !important;

> select {
line-height: 1.2 !important;
}
> select {
line-height: 1.2 !important;
}
}
}

.components-form-token-field {
margin-top: -18px !important;
label { display: none !important;}
.give-wall--wall-settings {
.components-form-token-field {
margin-top: -18px !important;
label { display: none !important;}
}
}

0 comments on commit 7a49a82

Please sign in to comment.