Fix live edit badge button sizing (#191)

This commit is contained in:
Abdul Wahab
2026-06-01 14:43:50 -07:00
committed by GitHub
parent d3f0275356
commit 3f8d002b76
15 changed files with 110 additions and 14 deletions
@@ -3854,14 +3854,19 @@
const HAIRLINE = P.hairline;
const calloutStyle = (color, borderColor) => ({
fontFamily: FONT,
fontSize: '0.625rem',
fontSize: '10px',
fontWeight: '600',
lineHeight: '16px',
letterSpacing: '0.06em',
color: color,
background: SURFACE,
padding: '2px 8px',
border: '1px solid ' + (borderColor || color),
borderRadius: '6px',
boxSizing: 'border-box',
minHeight: '22px',
margin: '0',
appearance: 'none',
whiteSpace: 'nowrap',
boxShadow: '0 4px 16px oklch(0% 0 0 / 0.16), 0 1px 3px oklch(0% 0 0 / 0.08)',
cursor: 'pointer',