Skip to content

Commit

Permalink
Fix more styling for button w/ icon
Browse files Browse the repository at this point in the history
  • Loading branch information
emyl3 committed May 6, 2024
1 parent fd4c9c1 commit 0e69efd
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 11 deletions.
3 changes: 2 additions & 1 deletion frontend/src/app/Settings/ManageSelfRegistrationLinks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
}

.sr-organization-link-copy-button {
width: 100%;
border-radius: 0 0 4px 4px;
column-gap: 0;
width: 100%;
}

@media (min-width: 480px) {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/patients/Components/ManageEmails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const ManageEmails: React.FC<Props> = ({
</div>
))}
<Button
className="margin-top-2"
className="margin-top-2 sr-add-another-button"
onClick={onAddEmail}
variant="unstyled"
label={t("patient.form.contact.addEmail")}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ const ManagePhoneNumbers: React.FC<Props> = ({
<div className="flex-align-self-end">
<button
type={"button"}
className="usa-button--unstyled padding-105 height-5 cursor-pointer"
className="usa-button--unstyled padding-105 height-5 cursor-pointer sr-add-another-button"
onClick={() => onPhoneNumberRemove(idx)}
aria-label={`Delete additional phone number ${phoneNumber.number.trim()}`}
>
Expand Down
20 changes: 13 additions & 7 deletions frontend/src/app/patients/Components/PersonForm.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
.sr-patient-sub-header {
font-weight: bold;
display: block;
margin-block-start: 1.33em;
margin-block-end: 1.33em;
margin-inline-start: 0;
margin-inline-end: 0;
.prime-edit-patient {
.sr-add-another-button {
column-gap: 0;
}

.sr-patient-sub-header {
font-weight: bold;
display: block;
margin-block-start: 1.33em;
margin-block-end: 1.33em;
margin-inline-start: 0;
margin-inline-end: 0;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2213,7 +2213,7 @@ exports[`EditPatient facility select input matches screenshot 1`] = `
</div>
</div>
<button
class="usa-button usa-button--unstyled margin-top-2"
class="usa-button usa-button--unstyled margin-top-2 sr-add-another-button"
id="add-email-btn"
type="button"
>
Expand Down

0 comments on commit 0e69efd

Please sign in to comment.