-
Notifications
You must be signed in to change notification settings - Fork 953
fix(site): standardize headers for Admin Settings page #16911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
de69ee3
a1da1c1
e5d581b
9b4928b
a35a9ae
9872c5d
1fe0022
7d0903a
a512bf5
734f59d
49b9dfe
840d6df
f169c4e
2325982
99c2dbc
50eddd0
2b77784
e2523cb
7f53666
daf6da9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ export const SettingsHeader: FC<HeaderProps> = ({ | |
<div className="flex flex-row gap-2 align-middle"> | ||
<HeaderTitle | ||
className={twMerge( | ||
"m-0 pb-1 text-3xl font-bold flex align-baseline gap-2 leading-tight", | ||
"m-0 pb-1 text-3xl font-bold flex items-center gap-2 leading-tight", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The different leading values for the header and description are intentional – leading needs to go down the larger your text is |
||
titleVisualHierarchy === "secondary" && "text-2xl font-medium", | ||
)} | ||
> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ export const NotificationsPage: FC = () => { | |
title={ | ||
<> | ||
Notifications | ||
<span css={{ position: "relative", top: "-6px" }}> | ||
<span css={{ position: "relative", top: "2px" }}> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needed to adjust this slightly to account for the updated text leading There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it something we could use CSS variables and calc to make the top value more reliable and easier to understand? By understand I mean, why is it 2px? If not, a comment would be nice. |
||
<FeatureStageBadge | ||
contentType={"beta"} | ||
size="lg" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a storybook for it covering the new variants?