Skip to content

Commit

Permalink
Styling updates
Browse files Browse the repository at this point in the history
  • Loading branch information
7emansell committed Nov 25, 2024
1 parent 8ec5985 commit 4a5e036
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/MyAccount/NewSettings/StatusBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const specificFailureContent = (statusMessage: string) => {
<Link
sx={{
color: "ui.link.primary !important",
textDecorationColor: "ui.link.primary !important",
textDecorationColor: "var(--nypl-colors-ui-link-primary) !important",
textDecoration: "underline",
}}
href="https://www.nypl.org/get-help/contact-us"
Expand Down
10 changes: 9 additions & 1 deletion src/components/MyAccount/NewSettings/UsernameForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ const UsernameForm = ({ patron, usernameState }: UsernameFormProps) => {
display: "flex",
flexDirection: "column-reverse",
label: {
paddingTop: "xxs",
fontWeight: "400",
fontSize: "12px",
lineHeight: "150%",
color: error ? "ui.error.primary" : "ui.black",
},
}}
Expand Down Expand Up @@ -192,7 +195,12 @@ const UsernameForm = ({ patron, usernameState }: UsernameFormProps) => {
let content
if (isLoading) {
content = (
<SkeletonLoader contentSize={2} showImage={false} headingSize={0} />
<SkeletonLoader
contentSize={2}
showImage={false}
headingSize={0}
sx={{ marginTop: "-s" }}
/>
)
} else if (isEditing) {
content = editingView
Expand Down

0 comments on commit 4a5e036

Please sign in to comment.