Skip to content

Commit

Permalink
fix: adjust styles for custom amount
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaHungDinh committed Oct 21, 2024
1 parent 17ecb6d commit 6816c74
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ const AmountControl = ({currency, onChange, value, options, min, max}) => {
value={selectValue}
onChange={setSelectValue}
/>
<div>
{selectValue === CUSTOM_AMOUNT && (
<div className="give-donor-dashboard-currency-control">
<label
Expand Down Expand Up @@ -133,7 +132,6 @@ const AmountControl = ({currency, onChange, value, options, min, max}) => {
</div>
</div>
)}
</div>
</FieldRow>
{validationError && (
<FieldRow>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,26 @@ $errorColor: #c91f1f;
}

.give-donor-dashboard-amount-inputs {
flex: 1;
display: flex;
flex-direction: column;


.give-donor-dashboard-field-row {
flex: 1;
display: flex;
align-items: center;
padding: 0;

.give-donor-dashboard-select-control {
display: flex;
min-width: 100%;
width: 100%;
margin: 0;
}
}
}

.give-donor-dashboard-currency-control {
margin-top: 10px;
margin-bottom: 2px;

.give-donor-dashboard-currency-control__label {
font-family: Montserrat, Arial, Helvetica, sans-serif;
Expand All @@ -47,10 +49,10 @@ $errorColor: #c91f1f;
outline: 0 !important;
min-width: 190px;
width: 100%;
margin-top: 8px;
margin-top: 6px;
border: 1px solid #b8b8b8;
overflow: hidden;
padding: 0;
padding: 1px;
box-shadow: 0 0 0 0 var(--give-donor-dashboard-accent-color);
transition: box-shadow 0.1s ease;

Expand Down

0 comments on commit 6816c74

Please sign in to comment.