admin: ui polish pass, thirty findings from the emil audit
selected states stop changing font weight, buttons gain a pressed scale and scoped 120ms transitions with a reduced-motion override, every loading and empty state reserves its height, charts measure before first paint, hit targets rise to the 44px enhanced target where layout permits, long domains clamp to two lines on an unpadded inner span, chips and name cells truncate, tabular figures on counts and time columns, a z-index layer scale replaces magic numbers and fixes the dialog-over-confirm tie, history's empty state gains a clear-filters action, page headings balance, font smoothing and color-scheme land on the html reset.
This commit is contained in:
@@ -34,6 +34,7 @@ const styles = stylex.create({
|
||||
fontSize: "1.5rem",
|
||||
lineHeight: "2rem",
|
||||
fontWeight: 600,
|
||||
textWrap: "balance",
|
||||
},
|
||||
address: {
|
||||
marginTop: "0.25rem",
|
||||
@@ -93,7 +94,12 @@ const styles = stylex.create({
|
||||
link: {
|
||||
color: colors.primaryOnSurface,
|
||||
},
|
||||
/**
|
||||
* Room for the heading, the facts panel and the two sections under it, so
|
||||
* the page settles at roughly its filled height instead of growing into it.
|
||||
*/
|
||||
loading: {
|
||||
minHeight: "24rem",
|
||||
marginTop: "1rem",
|
||||
color: colors.textMuted,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user